-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
front: Fetch siblings directly from API.
Replaced the previous method of fetching sibling regions, which was to fetch the parent region then fetch its subregions, with a direct call to an API endpoint that fetches the siblings. This simplifies the code in ListOfRegions.jsx and speeds up the application. Issue: #159 Signed-off-by: Nikolay Martyanov <[email protected]>
- Loading branch information
1 parent
10cf654
commit b717c94
Showing
2 changed files
with
17 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters