From af5434c9b7e4c0a2b4fe982cd9ca6b28dc83f37c Mon Sep 17 00:00:00 2001 From: Trevor Buckner Date: Mon, 15 Jul 2024 16:45:55 -0400 Subject: [PATCH] cleanup --- server/homebrew.api.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/server/homebrew.api.js b/server/homebrew.api.js index 98bc4c865..1709f4f46 100644 --- a/server/homebrew.api.js +++ b/server/homebrew.api.js @@ -261,7 +261,7 @@ const api = { req.params.renderer: This is the Markdown+ version for the static theme. If a User theme the value will come from the User Theme metadata. */ - let parentReq = {}; + let currentTheme; const completeStyles = []; const completeSnippets = []; @@ -283,7 +283,6 @@ const api = { } //=== Static Themes ===// else { - // NOTE: This currently makes NO attempt to do anything with Static theme Snippets. Loading of static snippets remains unchanged. const localStyle = `@import url(\"/themes/${req.params.renderer}/${req.params.id}/style.css\");`; completeStyles.push(`/* From Theme ${req.params.id} */\n\n${localStyle}`);