refactor(FE): Move table slice into UI store and persist search

This commit is contained in:
rstubryan
2026-01-22 15:58:56 +07:00
parent 756701722a
commit 1f6ce36976
5 changed files with 31 additions and 39 deletions
+7 -1
View File
@@ -26,7 +26,13 @@ type DrawerUISlice = {
setIsNextStep: (v: boolean) => void;
};
export type UIStore = MainUiSlice & DrawerUISlice;
type TableUISlice = {
searchValue: string;
setSearchValue: (value: string) => void;
resetSearchValue: () => void;
};
export type UIStore = MainUiSlice & DrawerUISlice & TableUISlice;
type ProductionStandardFormSlice = {
formData: {