Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
Jipperism committed Oct 20, 2023
1 parent 2df712b commit 1a0a5bc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import {
UnorderedList,
VStack,
} from "@chakra-ui/react";
import { SAFE_ADDRESS } from "@/components/zuconnect-retroactive-fund/index";
import { SAFE_ADDRESS } from "@/components/zuconnect-retroactive-fund/donation-form";

export const MoreInformationModal = ({
...modalProps
Expand Down
3 changes: 2 additions & 1 deletion pages/api/auth/login.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ export default async function handler(

// 3. verify the nonce included in the request matches what's
// already in public.users table for that address
const userNonce = user.auth.genNonce;
// @ts-ignore
const userNonce = user.auth?.genNonce;
if (userNonce !== nonce) {
return res.status(401).json({ error: "Invalid nonce" });
}
Expand Down

0 comments on commit 1a0a5bc

Please sign in to comment.