Skip to content
This repository has been archived by the owner on Mar 18, 2024. It is now read-only.

Commit

Permalink
fix: remove the redirection on create-nft page
Browse files Browse the repository at this point in the history
  • Loading branch information
mkubdev committed Dec 14, 2021
1 parent 4035ecf commit 576becc
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions pages/dashboard/create-nft.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,14 +73,6 @@ export const getServerSideProps = async (context) => {
};
}
}
// Redirect the user if not logged to github
else {

// note: we should trigger an alert if the user isn't connect
return {
redirect: { destination: '/dashboard', permanent: false }
}
}


return {
Expand Down

0 comments on commit 576becc

Please sign in to comment.