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

UHF-6840: Add showing school results on map #558

Merged
merged 4 commits into from
Feb 24, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
UHF-6840: Code cleanup
jeremysteerio committed Feb 24, 2023
commit d248bb175bd42752af13d40c119c489e70a3602e
Original file line number Diff line number Diff line change
@@ -60,9 +60,6 @@ const ResultsContainer = () => {
const pages = Math.floor(total / size);
const addLastPage = total > size && total % size;

const mapClasses = ['school-search__map-container'];
const resultsClasses = ['asd'];

const mapUrl = getMapUrl(data?.aggregations.ids.buckets);
const showPagination = !useMap && (pages > 1 || addLastPage);