Skip to content

Commit 0ab59b4

Browse files
committed
lint
1 parent d50be8d commit 0ab59b4

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/lib/components/core/Sidebar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use client';
22

3-
import { Home, File, Users, Book, Archive, Settings, ChevronDown } from 'lucide-react';
3+
import { Home, File, Users, Settings, ChevronDown } from 'lucide-react';
44
import { useAuth } from '@/lib/auth/auth-context';
55
import Image from 'next/image';
66
import useOnboardingState from '@/lib/hooks/useOnboardingState';

src/lib/hooks/useHeartbeat.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import useWebSocket from 'react-use-websocket';
22
import { ReadyState } from 'react-use-websocket';
33

4-
const WS_URL = process.env.NEXT_PUBLIC_WS_URL || 'ws://localhost:8080';
4+
const WS_URL = process.env.NEXT_PUBLIC_WS_URL ?? 'ws://localhost:8080';
55

66
export function useHeartbeat(token: string | null) {
77
const ws = useWebSocket(token ? `${WS_URL}?token=${token}` : null, {

0 commit comments

Comments
 (0)