Skip to content

Commit

Permalink
fix display of objects in the documentation error page
Browse files Browse the repository at this point in the history
  • Loading branch information
phryneas committed Sep 29, 2023
1 parent 6cddaaf commit a6e0039
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/shared/DisplayClientError.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ function ErrorDetails({ version, messageId, args }) {
const errorMessage = useMemo(() => {
return data?.message
? args.reduce(
(/** @type{string} */ acc, arg) => acc.replace('%s', String(arg)),
(/** @type{string} */ acc, arg) => acc.replace(/%[sdfo]/, arg),
String(data.message)
)
: null;
Expand Down

0 comments on commit a6e0039

Please sign in to comment.