fix: remove unused activeChannelId variable
This commit is contained in:
@@ -43,7 +43,6 @@ export function Layout() {
|
|||||||
const setMobileView = useLayoutStore((s) => s.setMobileView);
|
const setMobileView = useLayoutStore((s) => s.setMobileView);
|
||||||
const [showServerSettings, setShowServerSettings] = useState(false);
|
const [showServerSettings, setShowServerSettings] = useState(false);
|
||||||
const activeServerId = useServerStore((s) => s.activeServerId);
|
const activeServerId = useServerStore((s) => s.activeServerId);
|
||||||
const activeChannelId = useChannelStore((s) => s.activeChannelId);
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
wsConnect();
|
wsConnect();
|
||||||
return () => { wsDisconnect(); };
|
return () => { wsDisconnect(); };
|
||||||
|
|||||||
Reference in New Issue
Block a user