Skip to content

Commit

Permalink
fix: Unnecessary escape character: \'
Browse files Browse the repository at this point in the history
  • Loading branch information
LoicMahieu committed Oct 9, 2020
1 parent 4f112ab commit 213a407
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/locales/nb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const mixed: LocaleObject['mixed'] = {
notType: ({ path, type, value, originalValue }: FormatErrorParams) => {
const isCast = originalValue != null && originalValue !== value;
let msg =
`${path} må være en \'${type} \`typen, ` +
`${path} må være en '${type} \`typen, ` +
`men den endelige verdien var: \`${printValue(value, true)}\`` +
(isCast
? ` (støpt fra verdien \`${printValue(originalValue, true)}\`).`
Expand Down

0 comments on commit 213a407

Please sign in to comment.