Browse Source

[FE] Chore: Rename a property to make sonar happy (#3578)

David 2 years ago
parent
commit
866966a638

+ 1 - 1
kafka-ui-react-app/src/components/ErrorPage/ErrorPage.styled.ts

@@ -9,7 +9,7 @@ export const Wrapper = styled.div`
   margin-top: 100px;
 `;
 
-export const Number = styled.div`
+export const Status = styled.div`
   font-size: 100px;
   color: ${({ theme }) => theme.default.color.normal};
   line-height: initial;

+ 1 - 1
kafka-ui-react-app/src/components/ErrorPage/ErrorPage.tsx

@@ -16,7 +16,7 @@ const ErrorPage: React.FC<Props> = ({
 }) => {
   return (
     <S.Wrapper>
-      <S.Number>{status}</S.Number>
+      <S.Status>{status}</S.Status>
       <S.Text>{text}</S.Text>
       <Button buttonType="primary" buttonSize="M" to="/">
         {btnText}