there's no restriction with alpha case

This commit is contained in:
harshithpabbati 2022-01-03 16:53:46 +05:30
parent 2cc6579e80
commit 7c2a1d56fc
1 changed files with 0 additions and 2 deletions

View File

@ -2,7 +2,6 @@ const convert = (keyword) => {
return keyword
.toString()
.trim()
.toLowerCase()
.replace(/\s+/g, '-')
};
@ -10,7 +9,6 @@ const revert = (keyword) => {
return keyword
.toString()
.trim()
.toLowerCase()
.replace('-', ' ')
}