Fix column width declarations

This commit is contained in:
jeffvli 2023-07-16 11:06:09 -07:00
parent 481258484c
commit 47ecbf0601
3 changed files with 5 additions and 5 deletions

View file

@ -251,10 +251,10 @@ export const useListStore = create<ListSlice>()(
},
setTableColumns: (args) => {
set((state) => {
state.item[args.key as keyof ListState['item']].table.columns = {
state.item[args.key as keyof ListState['item']].table.columns = [
...state.item[args.key as keyof ListState['item']].table.columns,
...args.data,
};
];
});
},
setTablePagination: (args) => {