Skip to content

Commit

Permalink
adding back in lastsavedtime
Browse files Browse the repository at this point in the history
  • Loading branch information
ajaitasaini committed Nov 15, 2024
1 parent 6642158 commit 71b7d5c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions services/ui-src/src/types/states.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export interface HcbsReportState {
currentPageId?: string;
modalOpen: boolean;
modalComponent?: React.ReactFragment;
lastSavedTime?: string;

// ACTIONS
setReport: (report?: Report) => void;
Expand Down
1 change: 1 addition & 0 deletions services/ui-src/src/utils/state/useStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ const reportStore = (set: Function): HcbsReportState => ({
currentPageId: undefined,
modalOpen: false,
modalComponent: undefined,
lastSavedTime: undefined,

// actions
setReport: (report: Report | undefined) =>
Expand Down

0 comments on commit 71b7d5c

Please sign in to comment.