Skip to content

Commit 969ecc2

Browse files
committed
Fix linter warnings
1 parent 330a49d commit 969ecc2

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

src/useOnSubmit.ts

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,13 @@ const useOnSubmit = ({
6565
const success =
6666
mutationOptions?.onSuccess ??
6767
((record: RaRecord) => {
68-
notify(isCreate ? 'ra.notification.created' : 'ra.notification.updated', {
69-
type: 'info',
70-
messageArgs: { smart_count: 1 },
71-
});
68+
notify(
69+
isCreate ? 'ra.notification.created' : 'ra.notification.updated',
70+
{
71+
type: 'info',
72+
messageArgs: { smart_count: 1 },
73+
},
74+
);
7275
redirect(redirectTo, resource, record.id, record);
7376
});
7477
success(

0 commit comments

Comments
 (0)