File tree Expand file tree Collapse file tree 1 file changed +21
-25
lines changed
app/components/CodeEditor Expand file tree Collapse file tree 1 file changed +21
-25
lines changed Original file line number Diff line number Diff line change @@ -128,32 +128,28 @@ const EditorControls = ({
128
128
Reset
129
129
</ MyBtn >
130
130
</ Flex >
131
- {
132
- nextStepPath ?(
133
- < >
131
+ { nextStepPath ? (
132
+ < >
134
133
< MyBtn
135
- onClick = { ( ) => {
136
- if ( nextStepPath ) router . push ( "/" + nextStepPath ) ;
137
- } }
138
- variant = {
139
- outputResult . validityStatus === "valid" ? "default" : "success"
140
- }
141
- isDisabled = { ! nextStepPath }
142
- size = { outputResult . validityStatus === "valid" ? "sm" : "xs" }
143
- >
144
- Next < span style = { { marginLeft : "4px" } } > </ span >
145
- < FiChevronRight
146
- color = {
147
- outputResult . validityStatus === "valid"
148
- ? "white"
149
- : "hsl(var(--success))"
150
- }
151
- />
152
- </ MyBtn >
153
- </ >
154
- ) :
155
- < CertificateButton />
156
- }
134
+ onClick = { ( ) => router . push ( "/" + nextStepPath ) }
135
+ variant = {
136
+ outputResult . validityStatus === "valid" ? "default" : "success"
137
+ }
138
+ size = { outputResult . validityStatus === "valid" ? "sm" : "xs" }
139
+ >
140
+ Next < span style = { { marginLeft : "4px" } } > </ span >
141
+ < FiChevronRight
142
+ color = {
143
+ outputResult . validityStatus === "valid"
144
+ ? "white"
145
+ : "hsl(var(--success))"
146
+ }
147
+ />
148
+ </ MyBtn >
149
+ </ >
150
+ ) : (
151
+ < CertificateButton />
152
+ ) }
157
153
</ div >
158
154
) ;
159
155
} ;
You can’t perform that action at this time.
0 commit comments