1
0
Fork 0
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:
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} 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}