Remove unnecessary container

This commit is contained in:
Manav Rathi 2024-05-10 10:18:27 +05:30
parent 93487581c7
commit cf3394fd15
No known key found for this signature in database

View file

@ -71,16 +71,9 @@ const PairingComplete: React.FC = () => {
);
};
const Message: React.FC<React.PropsWithChildren> = ({ children }) => {
return (
<Message_>
<MessageItems>{children}</MessageItems>
</Message_>
);
};
const Message_ = styled("div")`
const Message = styled("div")`
display: flex;
flex-direction: column;
height: 100%;
justify-content: center;
align-items: center;
@ -92,13 +85,6 @@ const Message_ = styled("div")`
}
`;
const MessageItems = styled("div")`
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
`;
const NoItems: React.FC = () => {
return (
<Message>