From 9f1562291c1008727a6bafab7e83236d6ac4eded Mon Sep 17 00:00:00 2001 From: Jeff Date: Tue, 21 Feb 2023 07:50:29 -0600 Subject: [PATCH] fix: remove unused className spacer from spacer helper (#49067) * fix: remove unused className spacer from spacer helper --------- Co-authored-by: jeff --- client/src/components/helpers/spacer.tsx | 4 +--- .../profile/__snapshots__/profile.test.tsx.snap | 4 ---- .../__snapshots__/settings-button.test.js.snap | 15 --------------- .../__snapshots__/email-sign-up.test.js.snap | 5 ----- 4 files changed, 1 insertion(+), 27 deletions(-) diff --git a/client/src/components/helpers/spacer.tsx b/client/src/components/helpers/spacer.tsx index a56fb39d9f4..d63c689fa53 100644 --- a/client/src/components/helpers/spacer.tsx +++ b/client/src/components/helpers/spacer.tsx @@ -6,9 +6,7 @@ interface SpacerProps { const styles = { padding: '15px 0', height: '1px' }; -const Comp = ({ ...props }): JSX.Element => ( -
-); +const Comp = ({ ...props }): JSX.Element =>
; const Spacer = ({ size = 1 }: SpacerProps): JSX.Element => size === 1 ? ( diff --git a/client/src/components/profile/__snapshots__/profile.test.tsx.snap b/client/src/components/profile/__snapshots__/profile.test.tsx.snap index 33e47cfaedf..72486eec310 100644 --- a/client/src/components/profile/__snapshots__/profile.test.tsx.snap +++ b/client/src/components/profile/__snapshots__/profile.test.tsx.snap @@ -3,14 +3,12 @@ exports[` renders correctly 1`] = `
@@ -275,7 +273,6 @@ exports[` renders correctly 1`] = `
renders correctly 1`] = `
diff --git a/client/src/components/settings/__snapshots__/settings-button.test.js.snap b/client/src/components/settings/__snapshots__/settings-button.test.js.snap index 219bb0227aa..078295f084b 100644 --- a/client/src/components/settings/__snapshots__/settings-button.test.js.snap +++ b/client/src/components/settings/__snapshots__/settings-button.test.js.snap @@ -9,7 +9,6 @@ Array [ className="col-sm-8 col-sm-offset-2 col-xs-12" >
Non-Authenticated user "not accepted terms and conditio className="col-md-8 col-md-offset-2 col-sm-10 col-sm-offset-1 col-xs-12" >
Non-Authenticated user "not accepted terms and conditio learn.read-this.heading
Non-Authenticated user "not accepted terms and conditio misc.quincy
Non-Authenticated user "not accepted terms and conditio misc.email-blast

Non-Authenticated user "not accepted terms and conditio className="col-xs-12" >