double quotes -> single quotes
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
4a97b0bc13
commit
99aa828753
1 changed files with 1 additions and 1 deletions
|
|
@ -158,7 +158,7 @@ export default {
|
|||
const exceptions = ['side', 'glass', 'dimming'];
|
||||
let temp = toTitleCase(text);
|
||||
exceptions.forEach((exception) => {
|
||||
const regEx = new RegExp(exception, "ig");
|
||||
const regEx = new RegExp(exception, 'ig');
|
||||
temp = temp.replace(regEx, exception);
|
||||
});
|
||||
return temp;
|
||||
|
|
|
|||
Loading…
Reference in a new issue