diff --git a/react-spa/src/App.jsx b/react-spa/src/App.jsx index 6867ca2c..787faf7e 100644 --- a/react-spa/src/App.jsx +++ b/react-spa/src/App.jsx @@ -31,7 +31,7 @@ const ProfileContent = () => { return ( <> -
Welcome {accounts[0].name}
+ {accounts[0] &&
Welcome {accounts[0].name}
} {graphData ? ( ) : (