diff --git a/src/App.tsx b/src/App.tsx index 3c8bc1a..71db923 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1461,7 +1461,7 @@ function App() { }} /> - {!isMobile && ( + <> - )} + )} {/* {extState !== "not-authenticated" && ( diff --git a/src/components/Group/Group.tsx b/src/components/Group/Group.tsx index b4434ef..2f8c974 100644 --- a/src/components/Group/Group.tsx +++ b/src/components/Group/Group.tsx @@ -1357,6 +1357,7 @@ export const Group = ({ res(null); }, 200); }); + setSelectedDirect(null); setGroupSection("announcement"); chrome?.runtime?.sendMessage({ action: "addGroupNotificationTimestamp", @@ -1378,6 +1379,7 @@ export const Group = ({ }, 200); }); setGroupSection("chat"); + setSelectedDirect(null); if (selectedGroupRef.current) { chrome?.runtime?.sendMessage({ action: "addTimestampEnterChat", @@ -2238,6 +2240,7 @@ export const Group = ({ }} onClick={() => { setGroupSection("forum"); + setSelectedDirect(null); }} > setGroupSection("forum")} + onClick={() => { + setSelectedDirect(null); + setGroupSection("forum") + } } > Forum