diff --git a/bun.lockb b/bun.lockb index c00601c..c8e16f2 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index 34c546c..4f1e49a 100644 --- a/package.json +++ b/package.json @@ -28,12 +28,12 @@ "clsx": "^2.1.1", "country-flag-icons": "^1.5.13", "d3-geo": "^3.1.1", - "framer-motion": "^11.13.1", + "framer-motion": "^12.0.0-alpha.2", "i18next": "^24.0.5", "lucide-react": "^0.460.0", "luxon": "^3.5.0", - "react": "^18.3.1", - "react-dom": "^18.3.1", + "react": "^19.0.0", + "react-dom": "^19.0.0", "react-i18next": "^15.1.3", "react-router-dom": "^7.0.2", "recharts": "^2.14.1", @@ -45,18 +45,18 @@ "devDependencies": { "@eslint/js": "^9.16.0", "@types/node": "^22.10.1", - "@types/react": "^18.3.13", - "@types/react-dom": "^18.3.1", + "@types/react": "^19.0.0", + "@types/react-dom": "^19.0.0", "@vitejs/plugin-react-swc": "^3.7.2", "autoprefixer": "^10.4.20", "eslint": "^9.16.0", - "eslint-plugin-react-hooks": "^5.0.0", + "eslint-plugin-react-hooks": "^5.1.0", "eslint-plugin-react-refresh": "^0.4.16", "globals": "^15.13.0", "postcss": "^8.4.49", "tailwindcss": "^3.4.16", "typescript": "~5.6.3", "typescript-eslint": "^8.17.0", - "vite": "^6.0.2" + "vite": "^6.0.3" } } diff --git a/src/components/ServerCardInline.tsx b/src/components/ServerCardInline.tsx index f500b57..4f0fc73 100644 --- a/src/components/ServerCardInline.tsx +++ b/src/components/ServerCardInline.tsx @@ -17,6 +17,7 @@ import { MageMicrosoftWindows, } from "@/lib/logo-class"; import { formatBytes } from "@/lib/format"; +import { Separator } from "./ui/separator"; export default function ServerCardInline({ now, @@ -70,7 +71,7 @@ export default function ServerCardInline({ onClick={() => navigate(`/server/${serverInfo.id}`)} >
@@ -82,7 +83,7 @@ export default function ServerCardInline({ > {showFlag ? : null} -
+

+

diff --git a/src/context/websocket-provider.tsx b/src/context/websocket-provider.tsx index 008ee92..3f84c98 100644 --- a/src/context/websocket-provider.tsx +++ b/src/context/websocket-provider.tsx @@ -13,7 +13,7 @@ export const WebSocketProvider: React.FC = ({ const [lastMessage, setLastMessage] = useState<{ data: string } | null>(null); const [connected, setConnected] = useState(false); const ws = useRef(null); - const reconnectTimeout = useRef(); + const reconnectTimeout = useRef(null); const maxReconnectAttempts = 30; const reconnectAttempts = useRef(0);