grid: install foreign system updates to local desk

This addresses PR feedback:
https://github.com/urbit/urbit/pull/6093#discussion_r1028798146
This commit is contained in:
tomholford 2022-11-21 21:52:11 -08:00
parent 1bd0f4be77
commit 12a789656c

View File

@ -47,7 +47,7 @@ const useKilnState = create<KilnState>((set, get) => ({
const synced = !!get().pikes[desk].sync;
await (useMockData
? fakeRequest('')
: api.poke(synced ? kilnUninstall(desk) : kilnInstall(ship, desk)));
: api.poke(synced ? kilnUninstall(desk) : kilnInstall(ship, 'kids', desk)));
await get().fetchPikes();
},
toggleSync: async (desk: string, ship: string) => {