()
| 45 | `; |
| 46 | |
| 47 | function IsLoggedIn() { |
| 48 | const { data } = useQuery(IS_LOGGED_IN); |
| 49 | return data.isLoggedIn ? <Pages /> : <Login />; |
| 50 | } |
| 51 | |
| 52 | // Find our rootElement or throw and error if it doesn't exist |
| 53 | const rootElement = document.getElementById('root'); |
nothing calls this directly
no outgoing calls
no test coverage detected