Skip to content

Commit 47a8278

Browse files
committed
fix: change composable name
1 parent 8b40718 commit 47a8278

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

resources/js/pages/admin/users/Index.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { FilterMatchMode } from '@primevue/core/api';
44
import { AlertCircle, EllipsisVertical, FunnelX, Pencil } from 'lucide-vue-next';
55
import { formatInTimeZone } from 'date-fns-tz';
66
import { parseISO } from 'date-fns';
7-
import { useLazyDataTable } from '@/composables/useLazyDataTable';
7+
import { usePaginatedDataTable } from '@/composables/usePaginatedDataTable';
88
import AppLayout from '@/layouts/AppLayout.vue';
99
import ClientOnly from '@/components/ClientOnly.vue';
1010
import Menu from '@/components/primevue/menu/Menu.vue';
@@ -52,7 +52,7 @@ const {
5252
filter,
5353
sort,
5454
hardReset,
55-
} = useLazyDataTable('users', {
55+
} = usePaginatedDataTable('users', {
5656
name: { value: null, matchMode: FilterMatchMode.CONTAINS },
5757
email: { value: null, matchMode: FilterMatchMode.CONTAINS },
5858
created_at: { value: null, matchMode: FilterMatchMode.DATE_IS },

0 commit comments

Comments
 (0)