mirror of
https://github.com/vercel/commerce.git
synced 2025-07-22 20:26:49 +00:00
clean up unused code and create login callback api endpoints
Signed-off-by: Chloe <pinkcloudvnn@gmail.com>
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user