Firebase – Any idea why my component isn't getting rendered in a conditional block, but renders standalone?
I am trying to show a page only if the current user is logged in, else ask them to login. I am using firebase authentication to achieve this. import Head from "next/head"; import { auth } from "../../components/firebase"; import {…