Skip to content

Commit fc144c1

Browse files
natemoo-repriscilawebdev
authored andcommitted
ref(loader): fix response logic (#102094)
I accidentally merged some broken response logic in #102045. This fixes it!
1 parent 248404e commit fc144c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

static/index.ejs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
async function applySpaTheme() {
2121
const res = await fetch(BOOTSTRAP_URL);
2222
if (res.ok) {
23-
const data = await res.then(res => res.json());
23+
const data = await res.json();
2424
const theme = data.user?.options?.theme;
2525
if (theme) {
2626
document.body.classList.replace('theme-system', `theme-${theme}`);

0 commit comments

Comments
 (0)