"use client"; import Image from "next/image"; import { Card } from "../../../../shadcnui"; import { AuthContextProvider, useAuthContext } from "../../contexts"; import { AuthComponent } from "../../enums"; type AuthContainerProps = { componentType: AuthComponent; params?: { code?: string }; }; export function AuthContainer({ componentType, params }: AuthContainerProps) { return ( ); } function InnerAuthContainer() { const { activeComponent } = useAuthContext(); if (activeComponent === null) return (
Logo
); return {activeComponent}; }