mirror of
https://github.com/urbit/shrub.git
synced 2024-12-19 00:13:12 +03:00
parent
05f6230d60
commit
1aa8f9a1e8
@ -108,8 +108,8 @@ const useDocketState = create<DocketState>((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<void>((res) => setTimeout(() => res(), 10000));
|
||||
set((state) => addCharge(state, desk, { ...treaty, chad: { glob: null } }));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user