Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f88b66d commit 1fe050dCopy full SHA for 1fe050d
web-app/src/containers/Tutorial/index.tsx
@@ -179,8 +179,13 @@ const TutorialPage = (props: PageProps) => {
179
{/* Left */}
180
<div css={{ flex: 1 }}>
181
{DISPLAY_RUN_TEST_BUTTON && level.status !== 'COMPLETE' ? (
182
- <Button style={{ marginLeft: '1rem' }} type="primary" onClick={onRunTest} disabled={disableOptions}>
183
- Run
+ <Button
+ style={{ marginLeft: '1rem', width: '3rem' }}
184
+ type="primary"
185
+ onClick={onRunTest}
186
+ disabled={disableOptions}
187
+ >
188
+ {props.state === 'Level.TestRunning' ? <Icon type="loading" size="small" /> : 'Run'}
189
</Button>
190
) : null}
191
</div>
0 commit comments