diff --git a/js/src/admin/components/AdminPage.tsx b/js/src/admin/components/AdminPage.tsx index b83d23a7b..7c368999b 100644 --- a/js/src/admin/components/AdminPage.tsx +++ b/js/src/admin/components/AdminPage.tsx @@ -106,7 +106,7 @@ export type SettingsComponentOptions = HTMLInputSettingsComponentOptions | Switc export type AdminHeaderAttrs = AdminHeaderOptions & Partial>; export default abstract class AdminPage extends Page { - settings!: Record>; + settings: Record> = {}; loading: boolean = false; view(vnode: Mithril.Vnode): Mithril.Children {