chore(deps): update styled-jsx to ^3.3.1 (#520)

* chore(deps): update styled-jsx to ^3.3.1

update styled-jsx to ^3.3.1 to allow compatiblity with react@^17

* fix(modules): fix 695-issue to compatible with React 17

* docs: fix module error caused by styled-jsx update

Co-authored-by: unix <unix.bio@gmail.com>
This commit is contained in:
Florian Levis
2021-04-22 17:41:33 +02:00
committed by GitHub
parent 17cb6dd567
commit da1532fc49
8 changed files with 42 additions and 18 deletions

View File

@@ -1,9 +1,9 @@
import React from 'react'
import { Image } from 'components/index'
import { resolve } from 'styled-jsx/css'
import { css } from 'styled-jsx/css'
export const LogoIcon: React.FC<React.ImgHTMLAttributes<any>> = ({ ...props }) => {
const { className, styles } = resolve`
const { className, styles } = css.resolve`
.image {
border-radius: 50%;
cursor: pointer;