-
Notifications
You must be signed in to change notification settings - Fork 34
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
Fix loading AA layers #1392
Fix loading AA layers #1392
Conversation
…to fetch-data-in-state
…m-app into fetch-data-in-state
Build succeeded and deployed at https://prism-1392.surge.sh |
@@ -72,12 +72,29 @@ const TabPanel = memo(({ children, value, index, ...other }: TabPanelProps) => ( | |||
const LeftPanel = memo(() => { | |||
const dispatch = useDispatch(); | |||
const tabValue = useSelector(leftPanelTabValueSelector); | |||
|
|||
const selectedLayers = useSelector(layersSelector); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A lot of the changes look like positioning. Can we just make the necessary changes for the fix to make it easier to review? :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the thing is that AAConfig needed AALayerInUrl instead of tabValue ( that was the main change for the fix). So i had to define AALayerInUrl before AAConfig and SelectedLayers before AALayerInUrl.
I opened #1393 as a follow up |
Co-authored-by: Maxime Chaillet <[email protected]> Co-authored-by: ericboucher <[email protected]> Co-authored-by: Amit W <[email protected]> Co-authored-by: donia benharara <[email protected]> Co-authored-by: Doniaab <[email protected]> Fix loading AA layers (#1392)
Description
This fixes #issueNumber.
How to test the feature:
Checklist - did you ...
Test your changes with
REACT_APP_COUNTRY=rbd yarn start
REACT_APP_COUNTRY=cambodia yarn start
REACT_APP_COUNTRY=mozambique yarn start
Screenshot/video of feature: