File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ import {
18
18
} from "@chakra-ui/react"
19
19
import { FaGithub } from "react-icons/fa"
20
20
21
- import type { Context } from "../types"
21
+ import type { ChildOnlyProp , Context } from "../types"
22
22
23
23
import ActionCard from "../components/ActionCard"
24
24
import ButtonLink from "../components/ButtonLink"
@@ -39,8 +39,6 @@ import CreateWalletContent from "!!raw-loader!../data/CreateWallet.js"
39
39
import SimpleDomainRegistryContent from "!!raw-loader!../data/SimpleDomainRegistry.sol"
40
40
import { useConsoleEasterEgg } from "../hooks/useConsoleEasterEgg"
41
41
42
- type ChildOnlyProp = { children : ReactNode }
43
-
44
42
const SectionHeading = ( props : HeadingProps ) => (
45
43
< Heading
46
44
lineHeight = { 1.4 }
Original file line number Diff line number Diff line change
1
+ import { ReactNode } from "react"
1
2
import { IGatsbyImageData } from "gatsby-plugin-image"
2
3
3
4
import type { Messages } from "./interfaces"
4
5
import type { Lang } from "./utils/languages"
5
6
import { TranslationKey } from "./utils/translations"
6
7
8
+ export type ChildOnlyProp = { children : ReactNode }
9
+
7
10
export type Intl = {
8
11
language : Lang
9
12
languages : Array < Lang >
You can’t perform that action at this time.
0 commit comments