ソースを参照

onUpdate modalClose();

visuddhinanda 2 年 前
コミット
6752a168b6
1 ファイル変更1 行追加1 行削除
  1. 1 1
      dashboard/src/components/term/TermModal.tsx

+ 1 - 1
dashboard/src/components/term/TermModal.tsx

@@ -81,7 +81,7 @@ const TermModalWidget = ({
           parentChannelId={parentChannelId}
           parentStudioId={parentStudioId}
           onUpdate={(value: ITermDataResponse) => {
-            setIsModalOpen(false);
+            modalClose();
             if (typeof onUpdate !== "undefined") {
               onUpdate(value);
             }