diff --git a/pkg/grid/src/state/docket.ts b/pkg/grid/src/state/docket.ts index 7610339a1e..c16e665cb5 100644 --- a/pkg/grid/src/state/docket.ts +++ b/pkg/grid/src/state/docket.ts @@ -108,8 +108,8 @@ const useDocketState = create((set, get) => ({ if (!treaty) { throw new Error('Bad install'); } + set((state) => addCharge(state, desk, { ...treaty, chad: { install: null } })); if (useMockData) { - set((state) => addCharge(state, desk, { ...treaty, chad: { install: null } })); await new Promise((res) => setTimeout(() => res(), 10000)); set((state) => addCharge(state, desk, { ...treaty, chad: { glob: null } })); }