Skip to content

Commit

Permalink
Merge branch 'staging' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
arthyn committed Feb 21, 2024
2 parents 58890d1 + 3063494 commit b62cae4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
9 changes: 6 additions & 3 deletions apps/tlon-web/src/state/bootstrap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,12 @@ async function startGroups() {
});

// make sure we remove the app part from the nest before handing it over
useChatStore
.getState()
.update(_.mapKeys(unreads, (v, k) => k.replace(/\w*\//, '')));
useChatStore.getState().update(
_.mapKeys(
_.pickBy(unreads, (v, k) => k.startsWith('chat')),
(v, k) => k.replace(/\w*\//, '')
)
);
}

type Bootstrap = 'initial' | 'reset' | 'full-reset';
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b62cae4

Please sign in to comment.