diff options
Diffstat (limited to 'source/libs/features.tsx')
-rw-r--r-- | source/libs/features.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/libs/features.tsx b/source/libs/features.tsx index b3205bd4..a84c5b17 100644 --- a/source/libs/features.tsx +++ b/source/libs/features.tsx @@ -170,12 +170,12 @@ const add = async (definition: FeatureDetails): Promise<void> => { return result; }; - onAjaxedPages(async () => run(details)); + onAjaxedPages(() => run(details)); } else if (load instanceof Promise) { await load; run(details); } else { - load(async () => run(details)); + load(() => run(details)); } }; |