Skip to content

Commit 95ba8d2

Browse files
committed
fix(ci): resolve scarb cache path and frontend lint errors
1 parent c4a985e commit 95ba8d2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

frontend/components/Waitlist.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,10 @@ export default function Waitlist() {
4040
setStatus("success");
4141
setName("");
4242
setEmail("");
43-
} catch (_error) {
43+
} catch (error: unknown) {
4444
setStatus("error");
45-
setErrorMessage("Something went wrong. Please try again.");
45+
const message = error instanceof Error ? error.message : "Something went wrong. Please try again.";
46+
setErrorMessage(message);
4647
}
4748
};
4849

0 commit comments

Comments
 (0)