diff --git a/src/popup/components/ConnectWalletForm.tsx b/src/popup/components/ConnectWalletForm.tsx
index 0c962f5d..23162143 100644
--- a/src/popup/components/ConnectWalletForm.tsx
+++ b/src/popup/components/ConnectWalletForm.tsx
@@ -21,14 +21,10 @@ interface ConnectWalletFormInputs {
}
interface ConnectWalletFormProps {
- connected: boolean
publicKey: string
}
-export const ConnectWalletForm = ({
- publicKey,
- connected
-}: ConnectWalletFormProps) => {
+export const ConnectWalletForm = ({ publicKey }: ConnectWalletFormProps) => {
const {
register,
handleSubmit,
@@ -146,7 +142,6 @@ export const ConnectWalletForm = ({
{
if (state.connected) {
return
} else {
- return (
-
- )
+ return
}
}