Skip to content

Commit

Permalink
fix: undefined type check
Browse files Browse the repository at this point in the history
  • Loading branch information
waddaboo committed Dec 10, 2024
1 parent 89ecf84 commit 852595e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/dashboard/src/pages/new-group.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default function NewGroupPage(): JSX.Element {
setCurrentStep((v) => v + 1)
}

if (group.type === "on-chain" && !next) {
if (group?.type === "on-chain" && !next) {
setGroup({ type: "on-chain", fingerprintDuration: 3600 })
}
}, [])
Expand Down

0 comments on commit 852595e

Please sign in to comment.