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}
|
loading={testState.loading}
|
||||||
onClick={async (event) => {
|
onClick={async (event) => {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
setButtonDisabled(true); // Disable button to prevent multiple clicks
|
setButtonDisabled(true);
|
||||||
await runTests(); // Wait for tests
|
await runTests();
|
||||||
setButtonClicked(true); // buttonClicked equals true after tests are done!
|
setButtonClicked(true);
|
||||||
setTimeout(() => setButtonDisabled(false), 5000); // Turn the button back on
|
setTimeout(() => setButtonDisabled(false), 5000); // Turn the button back on
|
||||||
}}
|
}}
|
||||||
disabled={buttonDisabled}
|
disabled={buttonDisabled}
|
||||||
|
|
Loading…
Reference in a new issue