Skip to content
This repository has been archived by the owner on Jan 24, 2025. It is now read-only.

v2: Invalid prop css in console #965

Closed
Reklino opened this issue Jul 19, 2019 · 7 comments
Closed

v2: Invalid prop css in console #965

Reklino opened this issue Jul 19, 2019 · 7 comments
Labels
bug Something isn't working pending-user-response v2

Comments

@Reklino
Copy link

Reklino commented Jul 19, 2019

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]
@Reklino Reklino changed the title Invalid prop css - v2 v2: Invalid prop css in console Jul 19, 2019
@jameswdavies
Copy link

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?

@ivan-dalmet ivan-dalmet added the v2 label Jul 29, 2019
@Clarity-89
Copy link

Having the same issue with a newly setup project.

@Clarity-89
Copy link

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

@rakannimer
Copy link
Contributor

Hey @Clarity-89,

I'm not sure what the problem is yet.

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

@rakannimer rakannimer added the bug Something isn't working label Sep 13, 2019
@Clarity-89
Copy link

Clarity-89 commented Sep 13, 2019

@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.

@Clarity-89
Copy link

Clarity-89 commented Sep 17, 2019

@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

@rakannimer
Copy link
Contributor

rakannimer commented Sep 17, 2019

Thanks @Clarity-89 for putting in the time.

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working pending-user-response v2
Projects
None yet
Development

No branches or pull requests

5 participants