clean up unused code and create login callback api endpoints

Signed-off-by: Chloe <pinkcloudvnn@gmail.com>
This commit is contained in:
Chloe
2024-06-22 15:09:35 +07:00
parent 93f46a3f90
commit 8333eb36fc
26 changed files with 100 additions and 426 deletions

View File

@@ -1,6 +1,6 @@
'use client';
import { isLoggedIn } from 'components/auth/actions';
import { createContext, useState, useEffect } from 'react';
import { isLoggedIn } from 'components/profile/actions';
import { createContext, useEffect, useState } from 'react';
type AuthContextType = {
isAuthenticated: boolean;