diff --git a/services/ui-src/src/utils/state/useStore.ts b/services/ui-src/src/utils/state/useStore.ts index be7124e2..f319d9fc 100644 --- a/services/ui-src/src/utils/state/useStore.ts +++ b/services/ui-src/src/utils/state/useStore.ts @@ -1,6 +1,13 @@ import { create } from "zustand"; import { devtools, persist } from "zustand/middleware"; -import { HcbsUserState, HcbsUser, HcbsReportState, AdminBannerData, ErrorVerbiage } from "types"; +import { + HcbsUserState, + HcbsUser, + HcbsReportState, + AdminBannerData, + ErrorVerbiage, + AdminBannerState, +} from "types"; import { Report } from "types/report"; import React from "react"; import { buildState, mergeAnswers, setPage } from "./management/reportState"; @@ -85,7 +92,7 @@ const reportStore = (set: Function): HcbsReportState => ({ export const useStore = create( // devtools is being used for debugging state persist( - devtools((set) => ({ + devtools((set) => ({ ...userStore(set), ...bannerStore(set), ...reportStore(set),