Remove unnecessary container
This commit is contained in:
parent
93487581c7
commit
cf3394fd15
1 changed files with 2 additions and 16 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue