Skip to content

@/hurumap/next/Map #799

Open
Open
@kilemensi

Description

@kilemensi

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.

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

Status

🆕 Icebox

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions