aaa
This commit is contained in:
parent
5580ad1816
commit
7f11569d26
1 changed files with 1 additions and 1 deletions
|
|
@ -4,7 +4,7 @@ import { createContext, useContext, useState, useCallback, useEffect, type React
|
||||||
import { useSession, signIn, signOut } from "next-auth/react"
|
import { useSession, signIn, signOut } from "next-auth/react"
|
||||||
import type { User, Ticket, TicketStatus, Room } from "./types"
|
import type { User, Ticket, TicketStatus, Room } from "./types"
|
||||||
|
|
||||||
const API_URL = process.env.NEXT_PUBLIC_API_URL
|
const API_URL = process.env.NEXT_PUBLIC_API_URL + "/api"
|
||||||
|
|
||||||
interface AuthContextType {
|
interface AuthContextType {
|
||||||
user: User | null
|
user: User | null
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue