()
| 4 | import ChatsPage from "./chatsPage"; |
| 5 | |
| 6 | function App() { |
| 7 | const [user, setUser] = useState(); |
| 8 | |
| 9 | if (!user) { |
| 10 | return <AuthPage onAuth={(user) => setUser(user)} />; |
| 11 | } else { |
| 12 | return <ChatsPage user={user} />; |
| 13 | } |
| 14 | } |
| 15 | |
| 16 | export default App; |
nothing calls this directly
no outgoing calls
no test coverage detected