Skip to content

Commit

Permalink
style: remove empty line between header and message in snackbar
Browse files Browse the repository at this point in the history
Signed-off-by: sBouzols <sylvain.bouzols@gmail.com>
  • Loading branch information
sBouzols committed Nov 8, 2024
1 parent 89fcfa4 commit d1d6aa9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks/useSnackMessage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ function makeMessage(intlRef: MutableRefObject<IntlShape>, snackInputs: SnackInp
}
if (message) {
if (header) {
fullMessage += '\n\n';
fullMessage += '\n';
}
fullMessage += message;
}
Expand Down

0 comments on commit d1d6aa9

Please sign in to comment.