Skip to content

Commit

Permalink
fix: update replace all logic
Browse files Browse the repository at this point in the history
  • Loading branch information
pierrevano committed Jan 23, 2025
1 parent 517940c commit f2e82c3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "whatson",
"description": "What's on?",
"version": "2.84.0",
"version": "2.84.1",
"dependencies": {
"@auth0/auth0-react": "^2.2.4",
"@reach/router": "^1.3.4",
Expand Down
2 changes: 1 addition & 1 deletion public/meta.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{ "version": "2.84.0" }
{ "version": "2.84.1" }
3 changes: 2 additions & 1 deletion src/components/Navbar/createFilters.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ function createItems(nameArray, origin) {
nameToProcess = name
.toLowerCase()
.replaceAll("allociné", "allocine")
.replaceAll("rotten tomatoes", "rottenTomatoes");
.replaceAll("rotten tomatoes", "rottenTomatoes")
.replaceAll("tv time", "tvtime");

if (nameToProcess.includes(" and more")) {
nameToProcess = nameToProcess.replaceAll(" and more", "");
Expand Down

0 comments on commit f2e82c3

Please sign in to comment.