Skip to content

Commit 2121c79

Browse files
fix: use array form for providers prop in react-sdk-demo
1 parent 7f96d1b commit 2121c79

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

‎examples/react-sdk-demo/src/App.tsx‎

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,8 @@ function App() {
4343
<GuestRoute fallback={LoadingFallback} onRedirect={() => navigate('/')}>
4444
<div style={{ display: 'flex', justifyContent: 'center', alignItems: 'center', minHeight: '100vh', background: '#f8fafc' }}>
4545
<UrAuth
46-
providers={{
47-
github: true,
48-
google: true,
49-
emailPassword: true,
50-
}}
46+
providers={['google', 'github']}
47+
enableEmailPassword={true}
5148
branding={{
5249
appName: "My Custom App",
5350
logo: "https://vite.dev/logo.svg",

0 commit comments

Comments
 (0)