1
0
Fork 0
mirror of https://github.com/sussy-code/smov.git synced 2024-12-29 16:07:40 +01:00

Force rebuild again

This commit is contained in:
Cooper Ransom 2024-03-09 23:09:59 -05:00
parent 7f475c94dc
commit d82985dcc8

View file

@ -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}