We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dbca543 commit 94a3c32Copy full SHA for 94a3c32
1 file changed
src/App.tsx
@@ -1,21 +1,11 @@
1
-import { useConvexAuth } from 'convex/react';
2
-import { SignIn, SignOut } from './Auth';
3
import './App.css';
4
5
function App() {
6
- const { isAuthenticated, isLoading } = useConvexAuth();
7
-
8
- if (isLoading){
9
- return (
10
- <div>
11
- Loading...
12
- </div>
13
- )
14
- }
+
15
return (
16
- <>
17
- {isAuthenticated ? <SignOut /> : <SignIn />}
18
- </>
+ <div>
+ App
+ </div>
19
)
20
};
21
0 commit comments