fix: add JSX syntax for Prism
Some checks failed
Deploy Next.js application / deploy (push) Failing after 11m4s

This commit is contained in:
Dorian Niemiec 2025-01-01 10:13:32 +01:00
parent d751161db8
commit 1eb863debe
2 changed files with 2 additions and 0 deletions

View file

@ -9,6 +9,7 @@ import { Metadata } from "next";
import { format } from "date-fns";
import Prism from "prismjs";
import "prismjs/components/prism-javascript";
import "prismjs/components/prism-jsx";
import "prismjs/components/prism-python";
import "prismjs/components/prism-php";
import "prismjs/components/prism-bash";

View file

@ -3,6 +3,7 @@ import { useEffect } from "react";
import Prism from "prismjs";
import "prismjs/themes/prism-okaidia.css";
import "prismjs/components/prism-javascript";
import "prismjs/components/prism-jsx";
import "prismjs/components/prism-python";
import "prismjs/components/prism-php";
import "prismjs/components/prism-bash";