"use client"; import { useEffect } from "react"; import Prism from "prismjs"; import "prismjs/themes/prism-okaidia.css"; import "prismjs/components/prism-javascript"; import "prismjs/components/prism-python"; import "prismjs/components/prism-php"; import "prismjs/components/prism-bash"; import "prismjs/components/prism-sql"; import "prismjs/components/prism-yaml"; import "prismjs/components/prism-markdown"; import "prismjs/components/prism-json"; import "prismjs/components/prism-perl"; import "prismjs/components/prism-nginx"; import "prismjs/components/prism-markup"; import "prismjs/components/prism-markup-templating"; import "prismjs/components/prism-handlebars"; export default function PrismLoader() { useEffect(() => { if (Prism) { Prism.highlightAll(); } }, []); return null; }