1
0
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:
Puyodead1 2023-12-19 12:22:53 -05:00
parent c1e6ad876a
commit e431380f39
No known key found for this signature in database
GPG Key ID: BA5F91AAEF68E5CE

View File

@ -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") {