We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 248404e commit fc144c1Copy full SHA for fc144c1
static/index.ejs
@@ -20,7 +20,7 @@
20
async function applySpaTheme() {
21
const res = await fetch(BOOTSTRAP_URL);
22
if (res.ok) {
23
- const data = await res.then(res => res.json());
+ const data = await res.json();
24
const theme = data.user?.options?.theme;
25
if (theme) {
26
document.body.classList.replace('theme-system', `theme-${theme}`);
0 commit comments