We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9000e6e commit cbec1e3Copy full SHA for cbec1e3
src/components/MDX/ErrorDecoder.tsx
@@ -11,7 +11,7 @@ function replaceArgs(
11
return msg.replace(/%s/g, function () {
12
const arg = argList[argIdx++];
13
// arg can be an empty string: ?args[0]=&args[1]=count
14
- return arg === undefined || arg === '' ? replacer : arg;
+ return arg === undefined ? replacer : arg;
15
});
16
}
17
0 commit comments