From 086c2a9d2c45e791ee65cb65e68cb9e798774d2c Mon Sep 17 00:00:00 2001 From: cloudwithax Date: Sat, 14 Feb 2026 19:55:12 -0500 Subject: [PATCH] lint fixes --- src/components/common/SidebarLayout.tsx | 10 ++------- src/components/layout/ChannelList.tsx | 30 +++++++++++++++++++++---- src/components/layout/ChatArea.tsx | 4 +++- 3 files changed, 31 insertions(+), 13 deletions(-) diff --git a/src/components/common/SidebarLayout.tsx b/src/components/common/SidebarLayout.tsx index 6ce863b..c4ec94f 100644 --- a/src/components/common/SidebarLayout.tsx +++ b/src/components/common/SidebarLayout.tsx @@ -14,16 +14,10 @@ const SidebarLayout: Component> = (props) => { return (
{/* header */} - {props.header && ( -
- {props.header} -
- )} + {props.header &&
{props.header}
} {/* body */} -
- {props.children} -
+
{props.children}
{/* voice controls or other content above the user footer */} {props.beforeFooter} diff --git a/src/components/layout/ChannelList.tsx b/src/components/layout/ChannelList.tsx index d7b35bd..a8026af 100644 --- a/src/components/layout/ChannelList.tsx +++ b/src/components/layout/ChannelList.tsx @@ -7,7 +7,18 @@ import { createSortable, closestCenter, } from "@thisbeyond/solid-dnd"; -import { Hash, Volume2, Plus, ChevronDown, FolderPlus, Mic, MicOff, Headphones, HeadphoneOff, PhoneOff } from "lucide-solid"; +import { + Hash, + Volume2, + Plus, + ChevronDown, + FolderPlus, + Mic, + MicOff, + Headphones, + HeadphoneOff, + PhoneOff, +} from "lucide-solid"; import { channels, categories, @@ -297,14 +308,22 @@ const ChannelList: Component = () => { <> handleChannelClick(channel)} ghost={getGhost(channel.id, props.channelList)} /> {/* discord-style participant list under active voice channels */} - +
{(participant) => ( @@ -496,7 +515,10 @@ const ChannelList: Component = () => { onClick={() => toggleDeafen()} title={localMediaState().deafened ? "Undeafen" : "Deafen"} > - }> + } + > diff --git a/src/components/layout/ChatArea.tsx b/src/components/layout/ChatArea.tsx index 7cd5cc9..8afb495 100644 --- a/src/components/layout/ChatArea.tsx +++ b/src/components/layout/ChatArea.tsx @@ -26,7 +26,9 @@ const ChatArea: Component = (props) => {

welcome to dusk

-

select a community and channel to start chatting

+

+ select a community and channel to start chatting +

}