mirror of
https://github.com/spacebarchat/client.git
synced 2024-11-22 02:12:38 +01:00
fix incorrect icons in channel header
This commit is contained in:
parent
c1e6ad876a
commit
e431380f39
@ -36,8 +36,8 @@ function ChannelHeader() {
|
||||
};
|
||||
|
||||
useEffect(() => {
|
||||
if (isOpen) setIcon("mdiChevronDown");
|
||||
else setIcon("mdiClose");
|
||||
if (isOpen) setIcon("mdiClose");
|
||||
else setIcon("mdiChevronDown");
|
||||
}, [isOpen]);
|
||||
|
||||
if (app.activeGuildId === "@me") {
|
||||
|
Loading…
Reference in New Issue
Block a user