From 5526eef2789349f8d897d2165af7570eac812db6 Mon Sep 17 00:00:00 2001 From: nathanproton <84890950+nathanproton@users.noreply.github.com> Date: Thu, 11 Jan 2024 11:38:24 -0500 Subject: [PATCH] updated indent --- blocks/header/header.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/blocks/header/header.js b/blocks/header/header.js index d67deb0..5bcb86a 100644 --- a/blocks/header/header.js +++ b/blocks/header/header.js @@ -67,8 +67,8 @@ export default async function decorate(block) { }, '', block); // Fetch the JSON data -const jsonResp = await fetch('/vdem-options.json'); -if (jsonResp.ok) { + const jsonResp = await fetch('/vdem-options.json'); + if (jsonResp.ok) { const jsonData = await jsonResp.json(); // Extract the "veoc-status" value @@ -84,7 +84,7 @@ if (jsonResp.ok) { // Append the status element to the desired parent element (assuming chinEl is the parent) chinEl.appendChild(statusEl); -} + } const searchBarEl = createEl('div', { class: 'search',