core: remove deprecation

This commit is contained in:
undefined committed 2022-10-05 18:54:49 +08:00
1 parent 833b960a48
commit 9971967fd1
11 files changed
+47 -20

No files matched your search

+1 -1
View File
@@ -1,4 +1,4 @@
import $ from 'jquery';
import * as $ from 'jquery';
import * as bus from './bus';
window.Hydro = {
-2
View File
@@ -26,8 +26,6 @@ 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) => ({