diff --git a/src/components/App.tsx b/src/components/App.tsx index 5b83051..b9e79c9 100644 --- a/src/components/App.tsx +++ b/src/components/App.tsx @@ -24,8 +24,9 @@ const claimerPage = "Claimer's View" const isClaimerPage = (page:Page) => page === claimerPage const App: React.FC = ({runtimeURL,marloweScanURL,dAppId}) => { + const selectedWalletExtensionName = localStorage.getItem('walletProvider'); const [isWaitingConfirmation, setWaitingConfirmation] = useState(false); - const [isConnected, setIsConnected] = useState(false); + const [isConnected, setIsConnected] = useState(selectedWalletExtensionName?true:false); const [currentPage, setCurrentPage] = useState("About"); const [toasts, setToasts] = useState([]);