Skip to content

Commit 4131eb1

Browse files
committed
NU-2197 resolve issues found during review
1 parent e2cb707 commit 4131eb1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

designer/client/src/components/modals/saveScenario/SaveScenarioDialog.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ export function SaveScenarioDialog(props: WindowContentProps): JSX.Element {
1515
const [comment, setState] = useState("");
1616

1717
const confirmAction = useCallback(async () => {
18-
await handleSaveScenarioAction();
18+
await handleSaveScenarioAction(comment);
1919
props.close();
20-
}, [props, handleSaveScenarioAction]);
20+
}, [props, handleSaveScenarioAction, comment]);
2121

2222
const { t } = useTranslation();
2323
const buttons: WindowButtonProps[] = useMemo(

designer/client/src/windowManager/ContentGetter.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ const GenericConfirmDialog = loadable(() => import("../components/modals/Generic
4040
const GenericInfoDialog = loadable(() => import("../components/modals/GenericInfoDialog"), {
4141
fallback: <LoaderSpinner show />,
4242
});
43-
const SaveProcessDialog = loadable(() => import("../components/modals/saveScenario/./SaveScenarioDialog"), {
43+
const SaveProcessDialog = loadable(() => import("../components/modals/saveScenario/SaveScenarioDialog"), {
4444
fallback: <LoaderSpinner show />,
4545
});
4646
const GenerateTestDataDialog = loadable(() => import("../components/modals/GenerateTestDataDialog"), {

0 commit comments

Comments
 (0)