Skip to content

Commit 44e2b72

Browse files
authored
Merge pull request #9237 from MahendraBishnoi29/patch-3
Migrate `MergeArticleList.tsx` to Chakra
2 parents 2a7db97 + c8a93db commit 44e2b72

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

src/components/MergeArticleList.tsx

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,10 @@
11
import React from "react"
2-
import styled from "@emotion/styled"
3-
import CardList, { CardListItem } from "./CardList"
42
import { useIntl } from "react-intl"
3+
import CardList, { CardListItem } from "./CardList"
54

5+
import { Box } from "@chakra-ui/react"
66
import { translateMessageId } from "../utils/translations"
77

8-
const Container = styled.div`
9-
margin-bottom: 4rem;
10-
`
11-
128
export interface IProps {}
139

1410
const MergeArticleList: React.FC<IProps> = () => {
@@ -102,9 +98,9 @@ const MergeArticleList: React.FC<IProps> = () => {
10298
]
10399

104100
return (
105-
<Container>
101+
<Box mb="4rem">
106102
<CardList content={reads} />
107-
</Container>
103+
</Box>
108104
)
109105
}
110106

0 commit comments

Comments
 (0)