Fix lit warnings (#9204)

Co-authored-by: Bram Kragten <mail@bramkragten.nl>
This commit is contained in:
Paulus Schoutsen
2021-05-18 15:01:43 -07:00
committed by GitHub
parent bc92c0b052
commit 1b9286db76
23 changed files with 161 additions and 129 deletions

View File

@@ -50,6 +50,12 @@ export const showDialog = async (
) => {
if (!(dialogTag in LOADED)) {
if (!dialogImport) {
if (__DEV__) {
// eslint-disable-next-line
console.warn(
"Asked to show dialog that's not loaded and can't be imported"
);
}
return;
}
LOADED[dialogTag] = dialogImport().then(() => {