import { useState } from 'react'; import Connect from './Connect'; import './App.css'; function App() { const [publicKey, setPublicKey] = useState(null); return ( <>
{publicKey !== null && ( <> Wallet connected: {' '} {publicKey}
)}
); } export default App;