add reactmode

This commit is contained in:
CanbiZ
2025-01-16 14:51:23 +01:00
committed by GitHub
parent 330315c615
commit 1f8f593116

View File

@@ -1,6 +1,7 @@
import { OperatingSystem } from "@/lib/types"; import { OperatingSystem } from "@/lib/types";
import { MessagesSquare, Scroll } from "lucide-react"; import { MessagesSquare, Scroll } from "lucide-react";
import { FaDiscord, FaGithub } from "react-icons/fa"; import { FaDiscord, FaGithub } from "react-icons/fa";
import React from "react";
export const basePath = process.env.BASE_PATH; export const basePath = process.env.BASE_PATH;
@@ -33,7 +34,7 @@ export const navbarLinks = [
text: "Discussions", text: "Discussions",
} }
: null, : null,
].filter(Boolean) as { href: string; event: string; icon: JSX.Element; text: string }[]; // Typ-Anpassung nach filter(Boolean) ].filter(Boolean) as { href: string; event: string; icon: React.ReactNode; text: string }[];
export const mostPopularScripts = [ export const mostPopularScripts = [
"Proxmox VE Post Install", "Proxmox VE Post Install",