diff --git a/apps/wr/app/store/store.tsx b/apps/wr/app/store/store.tsx index 8ba4ea81b..fe7dc33a8 100644 --- a/apps/wr/app/store/store.tsx +++ b/apps/wr/app/store/store.tsx @@ -1,11 +1,14 @@ import { createStore } from 'zustand/vanilla'; import { tableActionsExport, tableStateExport, type tableState, type tableType } from './publicReuseFaciltyInsert/index'; -export type WrStore = tableType; +import { buildingTableActionsExport, buildingtableStateExport, type buildingTableType } from './rainReuseFacilityInsert'; +export type WrStore = tableType & buildingTableType; export const StoreZus = (initState: tableState = tableStateExport) => { return createStore()((set) => { return { ...initState, - ...tableActionsExport(set) + ...tableActionsExport(set), + ...buildingtableStateExport, + ...buildingTableActionsExport(set) } }) }