From e431380f39770301d3e55a66a5b0a497556f99ae Mon Sep 17 00:00:00 2001 From: Puyodead1 Date: Tue, 19 Dec 2023 12:22:53 -0500 Subject: [PATCH] fix incorrect icons in channel header --- src/components/ChannelHeader.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/ChannelHeader.tsx b/src/components/ChannelHeader.tsx index 9fb5173..1726fec 100644 --- a/src/components/ChannelHeader.tsx +++ b/src/components/ChannelHeader.tsx @@ -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") {