Skip to content

Commit 7e6a2a0

Browse files
committed
reuse type definition
1 parent 4627a9f commit 7e6a2a0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/pages/staking/index.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,8 @@ import StakingCommunityCallout from "../../components/Staking/StakingCommunityCa
2121

2222
import { translateMessageId, TranslationKey } from "../../utils/translations"
2323
import { getImage } from "../../utils/image"
24-
import type { Context } from "../../types"
2524

26-
type ChildOnlyProp = { children: ReactNode }
25+
import type { ChildOnlyProp, Context } from "../../types"
2726

2827
const Content = (props: ChildOnlyProp) => (
2928
<Box p="1rem 2rem" w="full" {...props} />

0 commit comments

Comments
 (0)