mirror of
https://github.com/ershisan99/todolist_next.git
synced 2025-12-16 12:33:57 +00:00
fix
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import type { ApiResponse } from "@/services";
|
||||
import type { ApiResponse } from "@/helpers";
|
||||
|
||||
export const handleError = <T>(data: ApiResponse<T>): ApiResponse<T> => {
|
||||
if (data.resultCode !== 0) {
|
||||
|
||||
Reference in New Issue
Block a user