improve some option in reset table

This commit is contained in:
2024-05-06 17:19:11 +03:30
parent b40c19fb34
commit 3ccd198a72
7 changed files with 71 additions and 15 deletions

View File

@@ -1,10 +1,10 @@
import { useContext } from "react";
import { TableSettingContext } from "../contexts/tableSetting";
import {useContext} from "react";
import {TableSettingContext} from "../contexts/tableSetting";
const useTableSetting = () => {
const { settingStore, hideAction, sortAction, filterAction } =
useContext(TableSettingContext);
return { settingStore, hideAction, sortAction, filterAction };
const {settingStore, hideAction, sortAction, filterAction, refactorAction} =
useContext(TableSettingContext);
return {settingStore, hideAction, sortAction, filterAction, refactorAction};
};
export default useTableSetting;