This commit is contained in:
Olivier Gagnon
2021-08-19 01:45:26 -04:00
parent d6b349b6ff
commit 1a1a43c1ce
41 changed files with 216 additions and 193 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ let gameContainer: HTMLElement;
// This variable is used to avoid setting the semi-transparent background
// several times on top of one another. Sometimes there's several popup at once.
let deepestPopupId: string = "";
let deepestPopupId = "";
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
export function createPopup<T>(id: string, rootComponent: (props: T) => React.ReactElement, props: T): HTMLElement | null {