From b19be242dce27ed23749f76767f41b5398a89be5 Mon Sep 17 00:00:00 2001 From: Richard Ebeling Date: Wed, 25 Oct 2023 20:07:07 +0200 Subject: [PATCH] Remove accidentally merged TODOs --- evap/static/ts/src/csrf-utils.ts | 1 - evap/static/ts/src/utils.ts | 1 - 2 files changed, 2 deletions(-) diff --git a/evap/static/ts/src/csrf-utils.ts b/evap/static/ts/src/csrf-utils.ts index 82c618c62b..3d82edb744 100644 --- a/evap/static/ts/src/csrf-utils.ts +++ b/evap/static/ts/src/csrf-utils.ts @@ -14,7 +14,6 @@ function getCookie(name: string): string | null { const csrftoken = getCookie("csrftoken")!; export const CSRF_HEADERS = { "X-CSRFToken": csrftoken }; -// TODO (globalThis as any).CSRF_HEADERS = CSRF_HEADERS; export const testable = { diff --git a/evap/static/ts/src/utils.ts b/evap/static/ts/src/utils.ts index c220b6af9e..9a9f61b2a7 100644 --- a/evap/static/ts/src/utils.ts +++ b/evap/static/ts/src/utils.ts @@ -53,6 +53,5 @@ export const fadeOutThenRemove = (element: HTMLElement) => { }, 600); }; -// TODO: How to handle exporting / importing (globalThis as any).assert = assert; (globalThis as any).fadeOutThenRemove = fadeOutThenRemove;