"use client"; import axios from "axios"; import * as React from 'react'; import { useEffect, useState } from "react"; import { useSession } from "next-auth/react"; const RedemptionsPage = () => { const { data: session, status } = useSession(); const [previousUsername, setPreviousUsername] = useState() useEffect(() => { if (status !== "authenticated" || previousUsername == session.user?.name) { return } setPreviousUsername(session.user?.name) }, [session]) return (
Admin Controls

test2

lalalalalalalala

); } export default RedemptionsPage; /* */