-
- Notifications
You must be signed in to change notification settings - Fork 421
Closed
Labels
wontfixThis will not be worked onThis will not be worked on
Description
Describe the bug
When using NextJS I see
Warning: Expected server HTML to contain a matching <span> in <nav>. in span (created by Styled(styled.span)) in Styled(styled.span) (created by Pagination).
This warning only shows up when I use pagination.
To Reproduce
Steps to reproduce the behavior:
- npx create-next-app --example with-typescript-styled-components with-typescript-app
- yarn add react-data-table-component
- copy the example data table, add 11 records
- enable pagination
- yarn dev
- see error in console, compare view source to rendered code
Expected behavior
<span class="sc-fznxKY sc-fznMAR jMFmnk">1-10 of 537</span> should be rendered on server and client
Versions (please complete the following information)
- next@9.5.1
- styled-components@5.1.1
- react-table@7.5.0
ryan-williams
Metadata
Metadata
Assignees
Labels
wontfixThis will not be worked onThis will not be worked on