diff options
Diffstat (limited to 'frontend/src/components/tables/plugins/useDefaultSettings.tsx')
-rw-r--r-- | frontend/src/components/tables/plugins/useDefaultSettings.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/src/components/tables/plugins/useDefaultSettings.tsx b/frontend/src/components/tables/plugins/useDefaultSettings.tsx index 772dfb93a..c833c9f79 100644 --- a/frontend/src/components/tables/plugins/useDefaultSettings.tsx +++ b/frontend/src/components/tables/plugins/useDefaultSettings.tsx @@ -9,7 +9,7 @@ function useDefaultSettings<T extends object>(hooks: Hooks<T>) { useDefaultSettings.pluginName = pluginName; function useOptions<T extends object>(options: TableOptions<T>) { - const [pageSize] = usePageSize(); + const pageSize = usePageSize(); if (options.autoResetPage === undefined) { options.autoResetPage = false; |