Skip to content

Commit

Permalink
fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
juliancwirko committed May 28, 2023
1 parent f110b1b commit 41a0652
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions components/tools/LoginComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ import { ActionButton } from './ActionButton';
import { LedgerAccountsList } from './LedgerAccountsList';

export const LoginComponent = memo(() => {
// If you need the auth signature and token pas your unique token in useLogin
// all auth providers will return the signature, it will be saved in localstorage and global state
// For the demo purposes here is a dummy token
const {
login,
isLoggedIn,
Expand All @@ -21,7 +18,7 @@ export const LoginComponent = memo(() => {
walletConnectPairingLogin,
walletConnectPairings,
walletConnectRemovePairing,
} = useLogin({ token: 'token_just_for_testing_purposes' });
} = useLogin();

const [loginMethod, setLoginMethod] = useState<LoginMethodsEnum>();

Expand Down

0 comments on commit 41a0652

Please sign in to comment.