From d4f0f76e05a051d99a2d6ff7eb68e03f9aff3c3b Mon Sep 17 00:00:00 2001 From: Sakura Knoll Date: Sun, 2 Jan 2022 18:19:21 +0900 Subject: [PATCH] Fix jsx imports --- src/components/atoms/BattlesuitFeatureLabel.tsx | 1 + src/components/atoms/BattlesuitRankIcon.tsx | 1 + src/components/atoms/FilterButton.tsx | 2 +- src/components/atoms/TypeLabel.tsx | 1 + src/components/atoms/ValkyrieLabel.tsx | 1 + src/components/molecules/BattlesuitCard.tsx | 1 + src/components/molecules/StigmataCard.tsx | 1 + src/components/molecules/StigmataSetCard.tsx | 1 + src/components/molecules/WeaponCard.tsx | 1 + src/components/organisms/GanttChart.tsx | 1 + src/pages/honkai3rd/battlesuits/[battlesuitId].tsx | 1 + src/pages/honkai3rd/battlesuits/index.tsx | 1 + src/pages/honkai3rd/elfs/[elfId].tsx | 2 +- src/pages/honkai3rd/elfs/index.tsx | 2 +- src/pages/honkai3rd/weapons/[weaponId].tsx | 2 +- 15 files changed, 15 insertions(+), 4 deletions(-) diff --git a/src/components/atoms/BattlesuitFeatureLabel.tsx b/src/components/atoms/BattlesuitFeatureLabel.tsx index 2ad2148a..956e2674 100644 --- a/src/components/atoms/BattlesuitFeatureLabel.tsx +++ b/src/components/atoms/BattlesuitFeatureLabel.tsx @@ -1,3 +1,4 @@ +/** @jsxImportSource theme-ui */ import { Flex, Text } from '@theme-ui/components' import { battlesuitFeatures } from '../../lib/honkai3rd/battlesuits' import SquareImageBox from './SquareImageBox' diff --git a/src/components/atoms/BattlesuitRankIcon.tsx b/src/components/atoms/BattlesuitRankIcon.tsx index 40dd2f62..5fd15f4b 100644 --- a/src/components/atoms/BattlesuitRankIcon.tsx +++ b/src/components/atoms/BattlesuitRankIcon.tsx @@ -1,3 +1,4 @@ +/** @jsxImportSource theme-ui */ import SquareImageBox from './SquareImageBox' interface BattlesuitRankIconProps { diff --git a/src/components/atoms/FilterButton.tsx b/src/components/atoms/FilterButton.tsx index c785de30..5df106cb 100644 --- a/src/components/atoms/FilterButton.tsx +++ b/src/components/atoms/FilterButton.tsx @@ -1,4 +1,4 @@ -import React from 'react' +/** @jsxImportSource theme-ui */ import PageLink from './PageLink' import SquareImageBox from './SquareImageBox' diff --git a/src/components/atoms/TypeLabel.tsx b/src/components/atoms/TypeLabel.tsx index 6b94c572..a40a5c34 100644 --- a/src/components/atoms/TypeLabel.tsx +++ b/src/components/atoms/TypeLabel.tsx @@ -1,3 +1,4 @@ +/** @jsxImportSource theme-ui */ import { Flex, Text } from '@theme-ui/components' import { capitalize } from '../../lib/string' import SquareImageBox from './SquareImageBox' diff --git a/src/components/atoms/ValkyrieLabel.tsx b/src/components/atoms/ValkyrieLabel.tsx index 30710460..c2b2eb44 100644 --- a/src/components/atoms/ValkyrieLabel.tsx +++ b/src/components/atoms/ValkyrieLabel.tsx @@ -1,3 +1,4 @@ +/** @jsxImportSource theme-ui */ import { Flex, Text } from '@theme-ui/components' import { valkyries } from '../../lib/honkai3rd/battlesuits' import SquareImageBox from './SquareImageBox' diff --git a/src/components/molecules/BattlesuitCard.tsx b/src/components/molecules/BattlesuitCard.tsx index a81c69aa..d344f4a9 100644 --- a/src/components/molecules/BattlesuitCard.tsx +++ b/src/components/molecules/BattlesuitCard.tsx @@ -1,3 +1,4 @@ +/** @jsxImportSource theme-ui */ import { Box, Card, Text } from '@theme-ui/components' import { BattlesuitData } from '../../lib/honkai3rd/battlesuits' import PageLink from '../atoms/PageLink' diff --git a/src/components/molecules/StigmataCard.tsx b/src/components/molecules/StigmataCard.tsx index aceeed92..10e1aac0 100644 --- a/src/components/molecules/StigmataCard.tsx +++ b/src/components/molecules/StigmataCard.tsx @@ -1,3 +1,4 @@ +/** @jsxImportSource theme-ui */ import { Box, Card, Text } from '@theme-ui/components' import { StigmataData } from '../../lib/honkai3rd/stigmata' import PageLink from '../atoms/PageLink' diff --git a/src/components/molecules/StigmataSetCard.tsx b/src/components/molecules/StigmataSetCard.tsx index cccda3dc..976a39df 100644 --- a/src/components/molecules/StigmataSetCard.tsx +++ b/src/components/molecules/StigmataSetCard.tsx @@ -1,3 +1,4 @@ +/** @jsxImportSource theme-ui */ import { Box, Card, Flex, Text } from '@theme-ui/components' import { StigmataSet } from '../../lib/honkai3rd/stigmata' import PageLink from '../atoms/PageLink' diff --git a/src/components/molecules/WeaponCard.tsx b/src/components/molecules/WeaponCard.tsx index 0b7610e8..9ac7cf56 100644 --- a/src/components/molecules/WeaponCard.tsx +++ b/src/components/molecules/WeaponCard.tsx @@ -1,3 +1,4 @@ +/** @jsxImportSource theme-ui */ import { Box, Card, Text } from '@theme-ui/components' import { WeaponData } from '../../lib/honkai3rd/weapons' import PageLink from '../atoms/PageLink' diff --git a/src/components/organisms/GanttChart.tsx b/src/components/organisms/GanttChart.tsx index febe29c6..bcd34911 100644 --- a/src/components/organisms/GanttChart.tsx +++ b/src/components/organisms/GanttChart.tsx @@ -1,3 +1,4 @@ +/** @jsxImportSource theme-ui */ import { Box, Flex, Text } from '@theme-ui/components' import { addDays, diff --git a/src/pages/honkai3rd/battlesuits/[battlesuitId].tsx b/src/pages/honkai3rd/battlesuits/[battlesuitId].tsx index 66bae4ca..8578c05b 100644 --- a/src/pages/honkai3rd/battlesuits/[battlesuitId].tsx +++ b/src/pages/honkai3rd/battlesuits/[battlesuitId].tsx @@ -1,3 +1,4 @@ +/** @jsxImportSource theme-ui */ import { Box, Card, Flex, Heading, Paragraph, Text } from '@theme-ui/components' import { NextPageContext } from 'next' import Image from 'next/image' diff --git a/src/pages/honkai3rd/battlesuits/index.tsx b/src/pages/honkai3rd/battlesuits/index.tsx index 6b6c9610..b0bc3fa1 100644 --- a/src/pages/honkai3rd/battlesuits/index.tsx +++ b/src/pages/honkai3rd/battlesuits/index.tsx @@ -1,3 +1,4 @@ +/** @jsxImportSource theme-ui */ import { Box, Heading, Flex } from '@theme-ui/components' import { pick } from 'ramda' import { useMemo } from 'react' diff --git a/src/pages/honkai3rd/elfs/[elfId].tsx b/src/pages/honkai3rd/elfs/[elfId].tsx index f83879f8..1c7ab749 100644 --- a/src/pages/honkai3rd/elfs/[elfId].tsx +++ b/src/pages/honkai3rd/elfs/[elfId].tsx @@ -1,7 +1,7 @@ +/** @jsxImportSource theme-ui */ import { Box, Heading, Paragraph } from '@theme-ui/components' import { NextPageContext } from 'next' import Image from 'next/image' -import React from 'react' import Breadcrumb from '../../../components/organisms/Breadcrumb' import Honkai3rdNavigator from '../../../components/organisms/Honkai3rdNavigator' import { ElfData } from '../../../lib/honkai3rd/elfs' diff --git a/src/pages/honkai3rd/elfs/index.tsx b/src/pages/honkai3rd/elfs/index.tsx index c78ef311..cc5244ed 100644 --- a/src/pages/honkai3rd/elfs/index.tsx +++ b/src/pages/honkai3rd/elfs/index.tsx @@ -1,8 +1,8 @@ +/** @jsxImportSource theme-ui */ import { Box, Heading, Flex, Text, Link } from '@theme-ui/components' import Image from 'next/image' import NextLink from 'next/link' import { pick } from 'ramda' -import React from 'react' import Breadcrumb from '../../../components/organisms/Breadcrumb' import Honkai3rdNavigator from '../../../components/organisms/Honkai3rdNavigator' import { ElfData } from '../../../lib/honkai3rd/elfs' diff --git a/src/pages/honkai3rd/weapons/[weaponId].tsx b/src/pages/honkai3rd/weapons/[weaponId].tsx index fbdd937c..fc22e6d6 100644 --- a/src/pages/honkai3rd/weapons/[weaponId].tsx +++ b/src/pages/honkai3rd/weapons/[weaponId].tsx @@ -1,6 +1,6 @@ +/** @jsxImportSource theme-ui */ import { Box, Card, Heading, Paragraph } from '@theme-ui/components' import { NextPageContext } from 'next' -import React from 'react' import SquareImageBox from '../../../components/atoms/SquareImageBox' import Breadcrumb from '../../../components/organisms/Breadcrumb' import Honkai3rdNavigator from '../../../components/organisms/Honkai3rdNavigator'