diff --git a/packages/ui-default/components/customFont.page.tsx b/packages/ui-default/components/customFont.page.tsx index f059742b8..4fc72190a 100644 --- a/packages/ui-default/components/customFont.page.tsx +++ b/packages/ui-default/components/customFont.page.tsx @@ -52,10 +52,10 @@ export default new AutoloadPage('customFont', (pageName) => { }); } - function FontSelectButton(props: { key: string, label: string, value: string }) { + function FontSelectButton(props: { saveKey: string, label: string, value: string }) { return
; @@ -63,10 +63,10 @@ export default new AutoloadPage('customFont', (pageName) => { if (pageName === 'home_preference' && 'queryLocalFonts' in window) { $('[name="form_item_fontFamily"]').parent().parent().parent().append($(tpl( - , + , ))); $('[name="form_item_codeFontFamily"]').parent().parent().parent().append($(tpl( - , + , ))); $(document).on('click', '[data-show-font-dialog]', (ev) => { ev.preventDefault();