From 13ad49a95a956e730a6a0ae38a498b0062b77238 Mon Sep 17 00:00:00 2001 From: Maayan Date: Wed, 10 Jul 2024 16:42:01 -0400 Subject: [PATCH] add new line between steps in next steps, fix FA path for when to show AptosConnect (#140) --- src/generateDapp.ts | 2 +- .../frontend/components/WalletSelector.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/generateDapp.ts b/src/generateDapp.ts index 8f17c6ce..8c44d500 100644 --- a/src/generateDapp.ts +++ b/src/generateDapp.ts @@ -140,7 +140,7 @@ export async function generateDapp(selection: Selections) { `3. Follow the instructions for the ${ selection.template.name } template on ${white(selection.template.doc)}` - ) + ) + "\n" ); } diff --git a/templates/fungible-asset-template/frontend/components/WalletSelector.tsx b/templates/fungible-asset-template/frontend/components/WalletSelector.tsx index 4d683acb..2a46549b 100644 --- a/templates/fungible-asset-template/frontend/components/WalletSelector.tsx +++ b/templates/fungible-asset-template/frontend/components/WalletSelector.tsx @@ -90,7 +90,7 @@ function ConnectWalletDialog({ close }: ConnectWalletDialogProps) { const location = useLocation(); - const isPublicMintPage = location.pathname !== "/create-collection" && location.pathname !== "/my-collections"; + const isPublicMintPage = location.pathname !== "/create-asset" && location.pathname !== "/my-assets"; const { aptosConnectWallets, availableWallets, installableWallets } = groupAndSortWallets(wallets);