diff options
author | 2020-12-16 02:16:04 +0000 | |
---|---|---|
committer | 2020-12-16 02:16:04 +0000 | |
commit | 83dbb652e36c795eb8f3b9cb06916a36a910393f (patch) | |
tree | 7b45220ef399d9d8f82e945955756fb372af6583 /src | |
parent | Update all (diff) |
replace @emotion/core with @emotion/react
Diffstat (limited to 'src')
-rw-r--r-- | src/App.tsx | 2 | ||||
-rw-r--r-- | src/components/FormListing.tsx | 2 | ||||
-rw-r--r-- | src/components/HeaderBar/index.tsx | 2 | ||||
-rw-r--r-- | src/components/Loading.tsx | 2 | ||||
-rw-r--r-- | src/components/OAuth2Button.tsx | 2 | ||||
-rw-r--r-- | src/components/Tag.tsx | 2 | ||||
-rw-r--r-- | src/globalStyles.ts | 2 | ||||
-rw-r--r-- | src/pages/CallbackPage.tsx | 2 | ||||
-rw-r--r-- | src/pages/FormPage.tsx | 2 | ||||
-rw-r--r-- | src/pages/LandingPage.tsx | 2 |
10 files changed, 10 insertions, 10 deletions
diff --git a/src/App.tsx b/src/App.tsx index ff4e553..a1c628e 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,7 +1,7 @@ /** @jsx jsx */ /** @global location */ import React, { Suspense } from "react"; -import { jsx, css, Global } from "@emotion/core"; +import { jsx, css, Global } from "@emotion/react"; import { BrowserRouter as Router, diff --git a/src/components/FormListing.tsx b/src/components/FormListing.tsx index c53cf67..f53efe2 100644 --- a/src/components/FormListing.tsx +++ b/src/components/FormListing.tsx @@ -1,5 +1,5 @@ /** @jsx jsx */ -import { css, jsx } from "@emotion/core"; +import { css, jsx } from "@emotion/react"; import { Link } from "react-router-dom"; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; diff --git a/src/components/HeaderBar/index.tsx b/src/components/HeaderBar/index.tsx index 8928a08..b789ddb 100644 --- a/src/components/HeaderBar/index.tsx +++ b/src/components/HeaderBar/index.tsx @@ -1,5 +1,5 @@ /** @jsx jsx */ -import { css, jsx } from "@emotion/core"; +import { css, jsx } from "@emotion/react"; import Header1 from "./header_1.svg"; import Header2 from "./header_2.svg"; diff --git a/src/components/Loading.tsx b/src/components/Loading.tsx index 48dcdbc..2758225 100644 --- a/src/components/Loading.tsx +++ b/src/components/Loading.tsx @@ -1,5 +1,5 @@ /** @jsx jsx */ -import { jsx } from "@emotion/core"; +import { jsx } from "@emotion/react"; import { HashLoader } from "react-spinners"; diff --git a/src/components/OAuth2Button.tsx b/src/components/OAuth2Button.tsx index d67b1ab..c364369 100644 --- a/src/components/OAuth2Button.tsx +++ b/src/components/OAuth2Button.tsx @@ -1,5 +1,5 @@ /** @jsx jsx */ -import { css, jsx } from "@emotion/core"; +import { css, jsx } from "@emotion/react"; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import { faDiscord } from "@fortawesome/free-brands-svg-icons"; diff --git a/src/components/Tag.tsx b/src/components/Tag.tsx index 9c96d94..0c55348 100644 --- a/src/components/Tag.tsx +++ b/src/components/Tag.tsx @@ -1,5 +1,5 @@ /** @jsx jsx */ -import { css, jsx } from "@emotion/core"; +import { css, jsx } from "@emotion/react"; interface TagProps { text: string, diff --git a/src/globalStyles.ts b/src/globalStyles.ts index 431ee36..584f228 100644 --- a/src/globalStyles.ts +++ b/src/globalStyles.ts @@ -1,4 +1,4 @@ -import { css } from "@emotion/core"; +import { css } from "@emotion/react"; import colors from "./colors"; diff --git a/src/pages/CallbackPage.tsx b/src/pages/CallbackPage.tsx index d085d28..691a3e4 100644 --- a/src/pages/CallbackPage.tsx +++ b/src/pages/CallbackPage.tsx @@ -1,5 +1,5 @@ /** @jsx jsx */ -import { jsx } from "@emotion/core"; +import { jsx } from "@emotion/react"; import { useState } from "react"; export default function CallbackPage() { diff --git a/src/pages/FormPage.tsx b/src/pages/FormPage.tsx index ad746c7..97ff24d 100644 --- a/src/pages/FormPage.tsx +++ b/src/pages/FormPage.tsx @@ -1,5 +1,5 @@ /** @jsx jsx */ -import { jsx } from "@emotion/core"; +import { jsx } from "@emotion/react"; import { Link } from "react-router-dom"; import { useParams } from "react-router"; diff --git a/src/pages/LandingPage.tsx b/src/pages/LandingPage.tsx index 127f166..e50d76f 100644 --- a/src/pages/LandingPage.tsx +++ b/src/pages/LandingPage.tsx @@ -1,5 +1,5 @@ /** @jsx jsx */ -import { css, jsx } from "@emotion/core"; +import { css, jsx } from "@emotion/react"; import { useEffect, useState } from "react"; import HeaderBar from "../components/HeaderBar"; |