From 2b88c9f60cce854d2b2d08696b89b1bc11c0ecd0 Mon Sep 17 00:00:00 2001 From: LASER-Yi Date: Sat, 25 Jun 2022 21:07:57 +0800 Subject: [PATCH] Fix issues when displaying Use Original Format in the language profile modal --- frontend/src/components/forms/ProfileEditForm.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frontend/src/components/forms/ProfileEditForm.tsx b/frontend/src/components/forms/ProfileEditForm.tsx index dae71532d..c3078922e 100644 --- a/frontend/src/components/forms/ProfileEditForm.tsx +++ b/frontend/src/components/forms/ProfileEditForm.tsx @@ -2,6 +2,7 @@ import { Action, Selector, SelectorOption, SimpleTable } from "@/components"; import { useModals, withModal } from "@/modules/modals"; import { useTableStyles } from "@/styles"; import { useArrayAction, useSelectorOptions } from "@/utilities"; +import { LOG } from "@/utilities/console"; import { faTrash } from "@fortawesome/free-solid-svg-icons"; import { Accordion, @@ -230,6 +231,7 @@ const ProfileEditForm: FunctionComponent = ({ return (
{ + LOG("info", "Submitting language profile", value); onComplete?.(value); modals.closeSelf(); })} @@ -297,6 +299,7 @@ const ProfileEditForm: FunctionComponent = ({