Skip to content

Commit

Permalink
fix aptos connect not showing up on public mint page (#136)
Browse files Browse the repository at this point in the history
  • Loading branch information
0xmaayan authored Jul 10, 2024
1 parent 7c9c42a commit 4cd40c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ function ConnectWalletDialog({ close }: ConnectWalletDialogProps) {

const location = useLocation();

const isPublicMintPage = location.pathname === "/";
const isPublicMintPage = location.pathname !== "/create-collection" && location.pathname !== "/my-collections";

const {
/** Wallets that use social login to create an account on the blockchain */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ function ConnectWalletDialog({ close }: ConnectWalletDialogProps) {

const location = useLocation();

const isPublicMintPage = location.pathname === "/";
const isPublicMintPage = location.pathname !== "/create-collection" && location.pathname !== "/my-collections";

const {
/** Wallets that use social login to create an account on the blockchain */
Expand Down

0 comments on commit 4cd40c2

Please sign in to comment.