(Feat-Fix): Type Fixes, sloppy import fixes, fix dynamic activity fetching and more
This commit is contained in:
@@ -3,9 +3,6 @@ import { api } from "../services/api.ts";
|
||||
import type { User } from "../types.ts";
|
||||
import { AuthContext } from "./authContext.ts";
|
||||
|
||||
// Re-export useAuth for convenience
|
||||
export { useAuth } from "./authContext.ts";
|
||||
|
||||
interface AuthProviderProps {
|
||||
children: ReactNode;
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { createContext, useContext } from "react";
|
||||
import type { User } from "../types";
|
||||
import type { User } from "../types.ts";
|
||||
|
||||
export interface AuthContextType {
|
||||
user: User | null;
|
||||
|
||||
Reference in New Issue
Block a user