forked from sombochea/verdaccio-ui
fix: css repetition is not closed in Logo component
This commit is contained in:
@@ -23,6 +23,7 @@ const StyledLogo = styled('div')<Props>`
|
||||
background-repeat: no-repeat;
|
||||
width: ${({ size }) => size};
|
||||
height: ${({ size }) => size};
|
||||
}
|
||||
`;
|
||||
const Logo: React.FC<Props> = ({ size = Size.Small }) => {
|
||||
return <StyledLogo size={size} />;
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||
|
||||
exports[`<Logo /> component should render the component in default state 1`] = `"<div class=\\"css-1tnu3ib em793ed0\\"></div>"`;
|
||||
exports[`<Logo /> component should render the component in default state 1`] = `"<div class=\\"css-1sifsqk em793ed0\\"></div>"`;
|
||||
|
||||
Reference in New Issue
Block a user