fix: syntax error in AuthContext
This commit is contained in:
parent
b96fb0d0e4
commit
31348cb6d1
1 changed files with 42 additions and 39 deletions
|
|
@ -177,6 +177,9 @@ export function AuthProvider({ children }: { children: ReactNode }) {
|
|||
}
|
||||
} catch (e) {
|
||||
console.error(e)
|
||||
}
|
||||
}, [authHeader, fetchTickets])
|
||||
|
||||
const deleteTicket = useCallback(async (ticketId: number) => {
|
||||
if (!authHeader) return
|
||||
try {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue