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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

solution #538

Closed
wants to merge 2 commits into from
Closed

solution #538

wants to merge 2 commits into from

Conversation

patryk-babon
Copy link

const query = searchParams.get('query') || '';
const centuries = searchParams.getAll('centuries') || '';
const sex = searchParams.get('sex') || '';
const arrayCentury = ['16', '17', '18', '19', '20'];
Copy link

Choose a reason for hiding this comment

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

this should be outside of component

Suggested change
const arrayCentury = ['16', '17', '18', '19', '20'];
const FILTER_CENTURIES = ['16', '17', '18', '19', '20'];

@patryk-babon patryk-babon requested a review from choeqq October 10, 2023 19:08
Copy link

@choeqq choeqq left a comment

Choose a reason for hiding this comment

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

LGTM ✅

@patryk-babon patryk-babon closed this by deleting the head repository Sep 1, 2024
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.

2 participants