From ec243b1352dd0475b8ee3624a66c247c05958b5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20Herrera=20Guzm=C3=A1n?= Date: Mon, 15 Jul 2019 14:43:44 +0200 Subject: [PATCH] fix: css repetition is not closed in Logo component --- src/components/Header/__snapshots__/Header.test.tsx.snap | 4 ++-- src/components/Loading/__snapshots__/Loading.test.tsx.snap | 2 +- src/components/Logo/Logo.tsx | 1 + src/components/Logo/__snapshots__/Logo.test.tsx.snap | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/components/Header/__snapshots__/Header.test.tsx.snap b/src/components/Header/__snapshots__/Header.test.tsx.snap index 547a7a4..228f683 100644 --- a/src/components/Header/__snapshots__/Header.test.tsx.snap +++ b/src/components/Header/__snapshots__/Header.test.tsx.snap @@ -1,5 +1,5 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`
component with logged in state should load the component in logged in state 1`] = `"
"`; +exports[`
component with logged in state should load the component in logged in state 1`] = `"
"`; -exports[`
component with logged out state should load the component in logged out state 1`] = `"
"`; +exports[`
component with logged out state should load the component in logged out state 1`] = `"
"`; diff --git a/src/components/Loading/__snapshots__/Loading.test.tsx.snap b/src/components/Loading/__snapshots__/Loading.test.tsx.snap index 5d29230..502a45a 100644 --- a/src/components/Loading/__snapshots__/Loading.test.tsx.snap +++ b/src/components/Loading/__snapshots__/Loading.test.tsx.snap @@ -1,3 +1,3 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[` component should render the component in default state 1`] = `"
"`; +exports[` component should render the component in default state 1`] = `"
"`; diff --git a/src/components/Logo/Logo.tsx b/src/components/Logo/Logo.tsx index b8abe82..0436255 100644 --- a/src/components/Logo/Logo.tsx +++ b/src/components/Logo/Logo.tsx @@ -23,6 +23,7 @@ const StyledLogo = styled('div')` background-repeat: no-repeat; width: ${({ size }) => size}; height: ${({ size }) => size}; + } `; const Logo: React.FC = ({ size = Size.Small }) => { return ; diff --git a/src/components/Logo/__snapshots__/Logo.test.tsx.snap b/src/components/Logo/__snapshots__/Logo.test.tsx.snap index 5a6b61a..837e012 100644 --- a/src/components/Logo/__snapshots__/Logo.test.tsx.snap +++ b/src/components/Logo/__snapshots__/Logo.test.tsx.snap @@ -1,3 +1,3 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[` component should render the component in default state 1`] = `"
"`; +exports[` component should render the component in default state 1`] = `"
"`;