Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit 70e3e93

Browse files
author
niloo-fs
committed
resolve review comments
1 parent c9c8390 commit 70e3e93

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/pages/p2p/components/_dp2p.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React from 'react'
1+
import React, { ReactElement } from 'react'
22
import styled from 'styled-components'
33
import { graphql, useStaticQuery } from 'gatsby'
44
import device from 'themes/device'
@@ -7,14 +7,14 @@ import { Header, Text, QueryImage } from 'components/elements'
77
import { localize } from 'components/localization'
88

99
type DP2PProps = {
10-
P2P: P2PProps[]
10+
P2P: P2PType[]
1111
reverse: boolean
1212
}
1313

14-
type P2PProps = {
15-
title: React.ReactElement
16-
subtitle: React.ReactElement
17-
subtitle_mobile: React.ReactElement
14+
type P2PType = {
15+
title: ReactElement
16+
subtitle: ReactElement
17+
subtitle_mobile: ReactElement
1818
image_name: string
1919
image_alt: string
2020
}

0 commit comments

Comments
 (0)