diff --git a/src/withStyles.tsx b/src/withStyles.tsx index 4b3018b..5301873 100644 --- a/src/withStyles.tsx +++ b/src/withStyles.tsx @@ -97,7 +97,7 @@ export function createWithStyles(params: { const { name } = Component_; if (name) { - return name; + return name.replace(/\$/g, "usd"); } } })(); diff --git a/src/withStyles_compat.tsx b/src/withStyles_compat.tsx index 248b819..e6aa9ed 100644 --- a/src/withStyles_compat.tsx +++ b/src/withStyles_compat.tsx @@ -84,7 +84,7 @@ export function createWithStyles(params: { const { name } = Component_; if (name) { - return name; + return name.replace(/\$/g, "usd"); } } })();