Skip to content

cant use import { css } from "@emotion/core"; #45

@Rolandas1369

Description

@Rolandas1369

cant use import { css } from "@emotion/core";
after chage to import { css } from "@emotion/react";

getting this error in html
You have tried to stringify object returned from css function. It isn't supposed to be used directly (e.g. as value of the className prop), but rather handed to emotion so it can handle it (e.g. as value of css prop).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions