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