Skip to content

Commit

Permalink
user check to new route redeem modal
Browse files Browse the repository at this point in the history
  • Loading branch information
sunilsabatp committed Oct 20, 2022
1 parent bb3215c commit b598f4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/profile/redeem/[code].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ const ReedemCode: FC = () => {
}
}

return ready ? (
return ready && user ? (
router.query.inputCode === 'true' ? (
// to input redeem code
<LandingSection>
Expand Down

0 comments on commit b598f4b

Please sign in to comment.