Docz: v2: Invalid prop `css` in console

Created on 19 Jul 2019  路  7Comments  路  Source: doczjs/docz

Bug Report

Describe the bug

I'm seeing some default styling missing (mainly fonts).

I'm getting the console error:

index.js:2177 Warning: Invalid prop `css` supplied to `React.Fragment`. React.Fragment can only have `key` and `children`

To Reproduce

  1. Install 2.0 and run dev

Environment

  • OS: [e.g. OSX 10.13.4]
bug pending-user-response v2

Most helpful comment

Having the same issue with a newly setup project.

All 7 comments

I'm seeing the same issue in 2.0.0-rc.1 - Don't really understand why though. The warning is complaining about this line however no css prop is being supplied?

Having the same issue with a newly setup project.

Just installed 2.0.0-rc.40 and still see the same issue. Has the fix been included in the release?

Hey @Clarity-89,

I'm not sure what the problem is yet.

Could you provide steps to reproduce the problem or a repo ?

@rakannimer all I'm doing is setting up a new project from scratch and adding a few components to the packages. I'll try to make a sample repo later today.

@rakannimer after spending half a weekend on it, couldn't reproduce the issue in a completely new project. Must have been something related to migrating old components from docz 0.x

Thanks @Clarity-89 for putting in the time.

I'll keep this issue unlocked in case someone is able to provide a repro later.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

capaj picture capaj  路  3Comments

albinekb picture albinekb  路  3Comments

brunolemos picture brunolemos  路  3Comments

fenbka picture fenbka  路  3Comments

w0wka91 picture w0wka91  路  3Comments