We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91485d0 commit 579ea46Copy full SHA for 579ea46
src/sliceSelector.js
@@ -15,7 +15,7 @@ export function createSelectorName(slice) {
15
function camelize(str) {
16
return str
17
.replace(/(?:^\w|[A-Z]|\b\w)/g, (letter, index) => {
18
- return index == 0 ? letter.toLowerCase() : letter.toUpperCase()
+ return index === 0 ? letter.toLowerCase() : letter.toUpperCase()
19
})
20
.replace(/\s+/g, '')
21
.replace(/[-_]/g, '')
0 commit comments