From 9d65d38dc2be12e83fab90249f8058d68e818f92 Mon Sep 17 00:00:00 2001 From: Caen De Silva Date: Sat, 21 Oct 2023 22:51:12 +0200 Subject: [PATCH] Comment out unused data --- packages/realtime-compiler/resources/dashboard.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/realtime-compiler/resources/dashboard.js b/packages/realtime-compiler/resources/dashboard.js index 56dd5dacf9b..2e8f8da9d38 100644 --- a/packages/realtime-compiler/resources/dashboard.js +++ b/packages/realtime-compiler/resources/dashboard.js @@ -58,8 +58,8 @@ function registerCreateFormModalHandlers() { const createPageFormError = document.getElementById("createPageFormError"); const createPageFormErrorContents = document.getElementById("createPageFormErrorContents"); - const okHandler = async response => { - let data = await response.json(); + const okHandler = () => { + // let data = await response.json(); createPageModal.hide(); createPageForm.reset();