fix(frontend): resolve add new flow error

This commit is contained in:
yassinedorbozgithub 2025-05-13 12:29:40 +01:00
parent fa17ca33b3
commit b511ee8323

View File

@ -205,7 +205,9 @@ export const Languages = () => {
startIcon={<AddIcon />}
variant="contained"
sx={{ float: "right" }}
onClick={() => dialogs.open(LanguageFormDialog, null)}
onClick={() =>
dialogs.open(LanguageFormDialog, { defaultValues: null })
}
>
{t("button.add")}
</Button>