Skip to content

Commit

Permalink
Connection issue Fix (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
nhenin authored Nov 4, 2023
1 parent cde9489 commit c310936
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@ const claimerPage = "Claimer's View"
const isClaimerPage = (page:Page) => page === claimerPage

const App: React.FC<AppProps> = ({runtimeURL,marloweScanURL,dAppId}) => {
const selectedWalletExtensionName = localStorage.getItem('walletProvider');
const [isWaitingConfirmation, setWaitingConfirmation] = useState(false);
const [isConnected, setIsConnected] = useState(false);
const [isConnected, setIsConnected] = useState<boolean>(selectedWalletExtensionName?true:false);
const [currentPage, setCurrentPage] = useState<Page>("About");
const [toasts, setToasts] = useState<any[]>([]);

Expand Down

0 comments on commit c310936

Please sign in to comment.