Skip to content

Commit

Permalink
♻️ fix link
Browse files Browse the repository at this point in the history
Signed-off-by: Pascal Marco Caversaccio <pascal.caversaccio@hotmail.ch>
  • Loading branch information
pcaversaccio committed Dec 16, 2023
1 parent 622e525 commit 6b1cc77
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion interface/src/pages/abi.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,9 @@ const Abi = () => {
const importTheme = async () => {
// Define the new stylesheet href based on the theme and get it's element.
const newStylesheetHref =
theme === "dark" ? "/prism-dark.css" : "/prism-light.css";
theme === "dark"
? "/createx/prism-dark.css"
: "/createx/prism-light.css";
const existingStylesheet = document.getElementById("dynamic-stylesheet");

// If there's an existing stylesheet, remove it.
Expand Down

0 comments on commit 6b1cc77

Please sign in to comment.