@posiwise/shared-components 0.0.201 → 0.0.202

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2677,7 +2677,9 @@ const buildActivateDeps = (deps) => ({
2677
2677
  // edit the question before committing to it.
2678
2678
  askAi: query => deps.sidebar.loadContentWithData('posiwise-brain', { draft: query }),
2679
2679
  openEntry: item => !!item.entry && deps.navIndex.open(item.entry),
2680
- navigate: path => void deps.router.navigateByUrl(path),
2680
+ navigate: path => {
2681
+ deps.router.navigateByUrl(path);
2682
+ },
2681
2683
  copyLink: () => {
2682
2684
  const clipboard = deps.clipboard ?? globalThis.navigator?.clipboard;
2683
2685
  if (!clipboard) {
@@ -2690,7 +2692,9 @@ const buildActivateDeps = (deps) => ({
2690
2692
  .catch(() => deps.notify?.error(deps.translate('CommandPalette.Action.CopyFailed')));
2691
2693
  },
2692
2694
  // The same route the profile menu uses; it owns the whole teardown.
2693
- logOut: () => void deps.router.navigateByUrl('/logout')
2695
+ logOut: () => {
2696
+ deps.router.navigateByUrl('/logout');
2697
+ }
2694
2698
  });
2695
2699
 
2696
2700
  /**