ui: simply solve a eslint bug

This commit is contained in:
undefined committed 2022-02-25 23:11:48 +08:00
1 parent f4dbce5a76
commit 67f8c8d389
2 files changed
+6 -2

No files matched your search

+2
View File
@@ -25,6 +25,8 @@ function buildSequence(pages, type) {
throw new Error("'type' should be one of 'before' or 'after'");
}
}
// eslint bug
// eslint-disable-next-line react/jsx-indent
return pages
.filter((p) => p && p[`${type}Loading`])
.map((p) => ({