mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-11-28 19:55:53 +03:00
bootstrap: removing unnecessary clear and moving hark a little higher
This commit is contained in:
parent
a93c3975d7
commit
78a0796a74
@ -32,24 +32,22 @@ export async function bootstrapApi() {
|
||||
useLocalState.setState({ subscription: 'connected' });
|
||||
};
|
||||
|
||||
await airlock.eventSource();
|
||||
const {
|
||||
clear,
|
||||
getKeys,
|
||||
getShallowChildren
|
||||
} = useGraphState.getState();
|
||||
clear();
|
||||
getKeys();
|
||||
useHarkState.getState().getUnreads();
|
||||
getShallowChildren(`~${window.ship}`, 'dm-inbox');
|
||||
await airlock.eventSource();
|
||||
|
||||
[
|
||||
useMetadataState,
|
||||
useGroupState,
|
||||
useContactState,
|
||||
useHarkState,
|
||||
useSettingsState,
|
||||
useInviteState,
|
||||
useHarkState,
|
||||
useStorageState,
|
||||
useLaunchState,
|
||||
useGraphState
|
||||
|
Loading…
Reference in New Issue
Block a user