Skip to content

Commit

Permalink
fix: use '-:-' instead of null as i18n namespace separator
Browse files Browse the repository at this point in the history
  • Loading branch information
mediremi committed Jul 20, 2021
1 parent af43ecd commit d2db355
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/bottom-bar/accept-button/accept-button.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const AcceptButton = () => {
const { show } = useAlert(
i18n.t('Acceptance failed: {{error}}', {
error: error ? error.toString() : '',
nsSeparator: null,
nsSeparator: '-:-',
})
)

Expand Down
2 changes: 1 addition & 1 deletion src/bottom-bar/unaccept-button/unaccept-button.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const UnacceptButton = () => {
const { show } = useAlert(
i18n.t('Unacceptance failed: {{error}}', {
error: error ? error.toString() : '',
nsSeparator: null,
nsSeparator: '-:-',
})
)

Expand Down
2 changes: 1 addition & 1 deletion src/bottom-bar/unapprove-button/unapprove-button.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const UnapproveButton = () => {
const { show } = useAlert(
i18n.t('Unapproval failed: {{error}}', {
error: error ? error.toString() : '',
nsSeparator: null,
nsSeparator: '-:-',
})
)

Expand Down

0 comments on commit d2db355

Please sign in to comment.