Skip to content

Commit

Permalink
Fix merge conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
asvarcas committed Oct 14, 2021
1 parent 92e52cb commit 37b9154
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 3 additions & 2 deletions packages/ra-core/src/sideEffect/useNotify.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,17 @@ const Notification = ({
type,
undoable,
autoHideDuration,
multiLine,
});
} else {
notify(message, type, {}, undoable, autoHideDuration);
notify(message, type, {}, undoable, autoHideDuration, multiLine);
}
}, [
message,
undoable,
autoHideDuration,
shortSignature,
shortSignature,
multiLine,
type,
notify,
]);
Expand Down
4 changes: 3 additions & 1 deletion packages/ra-core/src/sideEffect/useNotify.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ const useNotify = () => {
| (NotificationOptions & { type: NotificationType }),
messageArgs: any = {},
undoable: boolean = false,
autoHideDuration?: number
autoHideDuration?: number,
multiLine?: boolean
) => {
if (typeof type === 'string') {
warning(
Expand All @@ -44,6 +45,7 @@ const useNotify = () => {
messageArgs,
undoable,
autoHideDuration,
multiLine,
})
);
} else {
Expand Down

0 comments on commit 37b9154

Please sign in to comment.