fix: merge errors

This commit is contained in:
Koosha Lahouti
2025-08-16 11:21:30 +03:30
parent 696d8fc06b
commit f7207b8545
57 changed files with 451 additions and 688 deletions

View File

@@ -1,4 +1,4 @@
// FIXME: all the responses should extend this interface
// FIXME: all the responses should extend this interface
// import type { ApiResponse } from '@/types/apiResponse';
import { useToast } from '@rkheftan/harmony-ui';
import type { AxiosError } from 'axios';
@@ -51,8 +51,7 @@ export function useApi<T, P extends any[]>(
}
},
[apiFunction, navigate, t, toast],
)
);
// If the 'immediate' option is true, execute the function on mount
useEffect(() => {