bootstrap: removing unnecessary clear and moving hark a little higher

This commit is contained in:
Hunter Miller 2022-03-25 11:42:42 -05:00
parent a93c3975d7
commit 78a0796a74

View File

@ -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