fixed build errors

This commit is contained in:
Ren Amamiya
2023-03-24 15:23:30 +07:00
parent c1f06f8b28
commit f1965e1b43
11 changed files with 17 additions and 17 deletions

View File

@@ -67,7 +67,7 @@ export default function Page() {
const pool: any = useContext(RelayContext);
const router = useRouter();
const { id, privkey }: any = router.query;
const { id, privkey }: any = router.query || '';
const relays = useAtomValue(relaysAtom);
const [loading, setLoading] = useState(false);