diff --git a/app/src/renderer/apps/Courier/app.tsx b/app/src/renderer/apps/Courier/app.tsx index e94fe04358..f9612c8916 100644 --- a/app/src/renderer/apps/Courier/app.tsx +++ b/app/src/renderer/apps/Courier/app.tsx @@ -12,7 +12,7 @@ import { ChatLog } from './views/ChatLog/ChatLog'; import { CreateNewChat } from './views/CreateNewChat/CreateNewChat'; import { Inbox } from './views/Inbox/Inbox'; -export const CourierAppPresenter = () => { +const CourierAppPresenter = () => { const { clearInnerNavigation } = useTrayApps(); const { chatStore } = useShipStore(); diff --git a/app/src/renderer/stores/chat.store.ts b/app/src/renderer/stores/chat.store.ts index 8aaffab8e4..618746ab3b 100644 --- a/app/src/renderer/stores/chat.store.ts +++ b/app/src/renderer/stores/chat.store.ts @@ -243,9 +243,6 @@ export const ChatStore = types self.inbox.find((chat) => chat.path === path) ); yield ChatIPC.resyncPathIfNeeded(path); - if (self.subroute === 'inbox') { - self.subroute = 'chat'; - } self.chatLoader.set('loaded'); }), togglePinned: flow(function* (path: string, pinned: boolean) {