Skip to content

Commit 554acf1

Browse files
🐛 - fix: fix a bug that cause the enter key not to submit a form dialog
1 parent 0bbe173 commit 554acf1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

frontend/src/pages/destructionlist/detail/hooks/useFormDialog.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ export const useFormDialog = () => {
5252
secondaryActions={[
5353
{
5454
children: labelCancel,
55+
type: "button",
5556
variant: "secondary",
5657
onClick: () => {
5758
setModalProps({ open: false });

0 commit comments

Comments
 (0)