Skip to content

Commit 1da6fac

Browse files
committedOct 21, 2021
Reformat
1 parent b502ba1 commit 1da6fac

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed
 

‎packages/ra-core/src/sideEffect/useNotify.ts

+10-6
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,16 @@ const useNotify = () => {
4141
'This way of calling useNotify callback is deprecated. Please use the new syntax passing notify("[Your message]", { ...restOfArguments })'
4242
);
4343
dispatch(
44-
showNotification(message, (type || 'info') as NotificationType, {
45-
messageArgs,
46-
undoable,
47-
autoHideDuration,
48-
multiLine,
49-
})
44+
showNotification(
45+
message,
46+
(type || 'info') as NotificationType,
47+
{
48+
messageArgs,
49+
undoable,
50+
autoHideDuration,
51+
multiLine,
52+
}
53+
)
5054
);
5155
} else {
5256
const { type: messageType, ...options } = type;

0 commit comments

Comments
 (0)
Please sign in to comment.