I'm stumped on how to render the signIn component if currentUser is not detected. I am not getting any errors, only that it is rendering an empty component due to the value "currentUser = null".
<Routes>
   <Route exact path='/' element={<HomePage />} />
   <Route exact path='/shop' element={<ShopPage />} />
   <Route exact path='/signIn' 
          render={() => 
            currentUser ?
              <Navigate to='/' /> 
              :
              <SignIn />
          }
    />
   <Route exact path='/register' element={<Register />} />
</Routes>