mirror of
https://github.com/Hackdex-App/hackdex-website.git
synced 2026-05-06 13:06:02 -05:00
Fix patch button showing after failed download
This commit is contained in:
parent
efe9ea1c72
commit
bb4fda1579
|
|
@ -146,6 +146,7 @@ const HackActions: React.FC<HackActionsProps> = ({
|
|||
} catch (e: any) {
|
||||
setError(e?.message || "Failed to fetch patch URL");
|
||||
setStatus("idle");
|
||||
setTermsAgreed(false);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user