Refactor AuthContext into smaller files
Refactors the AuthContext.tsx file into smaller, more manageable files to improve code organization and maintainability. The functionality remains the same.
This commit is contained in:
5
src/hooks/useToast.wrapper.ts
Normal file
5
src/hooks/useToast.wrapper.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
|
||||
import { useToast as useOriginalToast, toast as originalToast } from '@/hooks/use-toast';
|
||||
|
||||
export const useToast = useOriginalToast;
|
||||
export const toast = originalToast;
|
||||
Reference in New Issue
Block a user