Skip to content

Commit

Permalink
use auth provider defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
horsefacts committed Feb 1, 2024
1 parent 301225c commit 9e39e6d
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions web/src/components/login/Login.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,7 @@ export default function Login() {
const [error, setError] = useState<AuthClientError>();

return (
<AuthKitProvider
config={{
relay: 'https://relay.farcaster.xyz',
rpcUrl: 'https://mainnet.optimism.io',
siweUri: 'http://localhost:3000',
domain: 'localhost:3000',
}}
>
<AuthKitProvider>
<div className="flex flex-col gap-2">
<SignInButton onSuccess={handleSuccess} onError={setError} />
{error && <div className="pt-4 text-red-500">{error.message}</div>}
Expand Down

0 comments on commit 9e39e6d

Please sign in to comment.