stephane-monnot / react-vertical-timeline

Vertical timeline for React.js
https://stephane-monnot.github.io/react-vertical-timeline/
MIT License
1.09k stars 161 forks source link

Receiving warning: extra attributes from the server: style when using component #169

Open KingJulius opened 1 year ago

KingJulius commented 1 year ago

While using a VerticalTimeline component for a Next v13.5.6 project using App Router with TypeScript, this is the warning message that I am getting when running my project on Chrome even in incognito mode as I was under the assumption that it may have been due to a 3rd party Chrome plugin but it is leading to the same warning:

image

Any tips on resolving this issue?

LoukaC commented 1 year ago

Hi

Vertical-timeline add automatically style="--line-color:#FFF:" to the html set lineColor='' in VerticalTimeline and in globals.css set your own color: html{ --line-color: #e2e8f0; }