mirror of
https://github.com/sussy-code/smov.git
synced 2024-12-20 14:37:43 +01:00
Force rebuild again
This commit is contained in:
parent
7f475c94dc
commit
d82985dcc8
1 changed files with 3 additions and 3 deletions
|
@ -159,9 +159,9 @@ export function WorkerTestPart() {
|
|||
loading={testState.loading}
|
||||
onClick={async (event) => {
|
||||
event.preventDefault();
|
||||
setButtonDisabled(true); // Disable button to prevent multiple clicks
|
||||
await runTests(); // Wait for tests
|
||||
setButtonClicked(true); // buttonClicked equals true after tests are done!
|
||||
setButtonDisabled(true);
|
||||
await runTests();
|
||||
setButtonClicked(true);
|
||||
setTimeout(() => setButtonDisabled(false), 5000); // Turn the button back on
|
||||
}}
|
||||
disabled={buttonDisabled}
|
||||
|
|
Loading…
Reference in a new issue