Skip to content

Commit 0bca0c3

Browse files
chore: convert statLoadingMessage
1 parent b0c642e commit 0bca0c3

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

src/components/StatLoadingMessage.tsx

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,14 @@
11
import React from "react"
2-
import styled from "@emotion/styled"
3-
import { typography, TypographyProps } from "styled-system"
2+
import { Text } from "@chakra-ui/react"
43

54
import Translation from "./Translation"
65

7-
export interface IProps extends TypographyProps {}
8-
9-
export const IndicatorSpan = styled.span<IProps>`
10-
${typography}
11-
`
6+
export interface IProps {}
127

138
const StatLoadingMessage: React.FC<IProps> = (props) => (
14-
<IndicatorSpan fontSize="2rem" {...props}>
9+
<Text as="span" fontSize="2rem" {...props}>
1510
<Translation id="loading" />
16-
</IndicatorSpan>
11+
</Text>
1712
)
1813

1914
export default StatLoadingMessage

0 commit comments

Comments
 (0)