CodeForAfrica / CodeForAfrica/ui
`@/hurumap/next/Map`
- Dominant language
- JavaScript
- Stars
- 3
- Forks
- 2
- Avg merge
- 3d 1h
- Merged PRs (30d)
- 5
Description
**Describe the bug**
On pages where Map component is used, there is the following warning:
`Warning: useLayoutEffect does nothing on the server because its effect cannot be encoded into the server renderer's output form`
**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
**Expected behavior**
No warning.
**Screenshots**
N/a
**Desktop (please complete the following information):**
All
**Smartphone (please complete the following information):**
All
**Additional context**
Review why `useLayoutEffect` was used and if there is a way around that.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.