Skip to content

Commit

Permalink
fix: jsx pragma change needed with upgradet to react 17
Browse files Browse the repository at this point in the history
  • Loading branch information
Roshan Jossy committed Apr 10, 2021
1 parent f9a9a79 commit 4449440
Show file tree
Hide file tree
Showing 7 changed files with 48 additions and 4 deletions.
1 change: 1 addition & 0 deletions src/components/Common/SpinningLoader.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/** @jsxRuntime classic */
/** @jsx jsx */
import styled from "@emotion/styled";
import { jsx, keyframes } from "@emotion/react";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,30 @@ Array [
Find out what you can do in Jina hub and how you platform works.
</p>
<button
className="css-y3x934"
className="MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeMedium MuiButton-textSizeMedium MuiButtonBase-root css-1hb5non-MuiButtonBase-root-MuiButton-root"
data-name="hubOverviewActionButtonLabel"
disabled={false}
onBlur={[Function]}
onClick={[Function]}
onContextMenu={[Function]}
onDragLeave={[Function]}
onFocus={[Function]}
onKeyDown={[Function]}
onKeyUp={[Function]}
onMouseDown={[Function]}
onMouseLeave={[Function]}
onMouseUp={[Function]}
onTouchEnd={[Function]}
onTouchMove={[Function]}
onTouchStart={[Function]}
tabIndex={0}
type="button"
>
Read more
<span
className="MuiButton-label css-8xplcm-MuiButton-label"
>
Read more
</span>
</button>
</div>,
<div
Expand All @@ -35,11 +54,30 @@ Array [
Create flow
</p>
<button
className="css-y3x934"
className="MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeMedium MuiButton-textSizeMedium MuiButtonBase-root css-1hb5non-MuiButtonBase-root-MuiButton-root"
data-name="hubOverviewActionButtonLabel"
disabled={false}
onBlur={[Function]}
onClick={[Function]}
onContextMenu={[Function]}
onDragLeave={[Function]}
onFocus={[Function]}
onKeyDown={[Function]}
onKeyUp={[Function]}
onMouseDown={[Function]}
onMouseLeave={[Function]}
onMouseUp={[Function]}
onTouchEnd={[Function]}
onTouchMove={[Function]}
onTouchStart={[Function]}
tabIndex={0}
type="button"
>
Let's Go
<span
className="MuiButton-label css-8xplcm-MuiButton-label"
>
Let's Go
</span>
</button>
</div>,
]
Expand Down
1 change: 1 addition & 0 deletions src/components/LogStream/LogItem.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/** @jsxRuntime classic */
/** @jsx jsx */
import { jsx } from "@emotion/react"
import { Row, Col } from "react-bootstrap"
Expand Down
1 change: 1 addition & 0 deletions src/components/LogStream/LogsTableHeader.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/** @jsxRuntime classic */
/** @jsx jsx */
import { jsx } from "@emotion/react";
import { Row, Col } from "react-bootstrap";
Expand Down
1 change: 1 addition & 0 deletions src/components/Styleguide/ColorsPage.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/** @jsxRuntime classic */
/** @jsx jsx */
import { css, jsx, useTheme } from "@emotion/react";
import { PageTitle } from "../Common/PageTitle";
Expand Down
1 change: 1 addition & 0 deletions src/components/Styleguide/MiscPage.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/** @jsxRuntime classic */
/** @jsx jsx */
import { css, jsx, useTheme } from "@emotion/react";
import { PageTitle } from "../Common/PageTitle";
Expand Down
1 change: 1 addition & 0 deletions src/components/Styleguide/TypographyPage.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/** @jsxRuntime classic */
/** @jsx jsx */
import { jsx } from "@emotion/react";
import { PageTitle } from "../Common/PageTitle";
Expand Down

0 comments on commit 4449440

Please sign in to comment.