Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

add .includes(event.city) #296

Merged
merged 2 commits into from
Oct 31, 2023
Merged

add .includes(event.city) #296

merged 2 commits into from
Oct 31, 2023

Conversation

radioblahaj
Copy link
Member

No description provided.

@@ -89,7 +89,7 @@ let regions = [
},
{
name: 'Toronto',
filter: event => ['Toronto', 'Mississauga', 'Hamilton','Milton', 'Oakville', 'Waterloo']
filter: event => ['Toronto', 'Mississauga', 'Hamilton','Milton', 'Oakville', 'Waterloo'].includes(event.city);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

semi-colon crashing prod btw :)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think a comma needs to be in lieu of that

@@ -89,7 +89,7 @@ let regions = [
},
{
name: 'Toronto',
filter: event => ['Toronto', 'Mississauga', 'Hamilton','Milton', 'Oakville', 'Waterloo']
filter: event => ['Toronto', 'Mississauga', 'Hamilton','Milton', 'Oakville', 'Waterloo'].includes(event.city);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think a comma needs to be in lieu of that

@faisalsayed10 faisalsayed10 added this pull request to the merge queue Oct 31, 2023
Merged via the queue into hackclub:main with commit 908356d Oct 31, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants