Skip to content

Commit b33ef81

Browse files
committed
missed
1 parent 5be0505 commit b33ef81

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

resources/js/composables/usePaginatedData.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -148,13 +148,7 @@ export function usePaginatedData(
148148
return fetchData(options);
149149
}
150150

151-
function hardReset(
152-
options: {
153-
onSuccess?: (page: Page<PageProps>) => void;
154-
onError?: (errors: Errors) => void;
155-
onFinish?: () => void;
156-
} = {}
157-
): Promise<Page<PageProps>> {
151+
function hardReset(options: InertiaRouterFetchCallbacks = {}): Promise<Page<PageProps>> {
158152
const { onSuccess, onError, onFinish } = options;
159153

160154
return new Promise((resolve, reject) => {

0 commit comments

Comments
 (0)