diff --git a/getting-started-with-solana/establishing-a-connection.md b/getting-started-with-solana/establishing-a-connection.md index 90ae381..4f96e4b 100644 --- a/getting-started-with-solana/establishing-a-connection.md +++ b/getting-started-with-solana/establishing-a-connection.md @@ -85,7 +85,7 @@ useEffect(() => { provider.connect({ onlyIfTrusted: true }) .then(({ publicKey }) => { // Handle successful eager connection - }); + }) .catch(() => { // Handle connection failure as usual })