Refactor auth.utils.ts
Refactor auth.utils.ts into smaller modules for better organization and maintainability. Split functions into networkUtils.ts, responseUtils.ts, and toastUtils.ts based on their purpose.
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
|
||||
import { supabase } from '@/lib/supabase';
|
||||
import { handleNetworkError, showAuthToast } from './auth.utils';
|
||||
import { handleNetworkError, showAuthToast } from '@/utils/auth';
|
||||
|
||||
export const resetPassword = async (email: string) => {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user