fix: merge errors
This commit is contained in:
@@ -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(() => {
|
||||
|
||||
Reference in New Issue
Block a user