Skip to content

Commit

Permalink
Remove accidentally merged TODOs
Browse files Browse the repository at this point in the history
  • Loading branch information
richardebeling committed Oct 25, 2023
1 parent 364f15c commit b19be24
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion evap/static/ts/src/csrf-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down
1 change: 0 additions & 1 deletion evap/static/ts/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;

0 comments on commit b19be24

Please sign in to comment.