From d26b55521b7a9cc5909809ef97f52090ec940af9 Mon Sep 17 00:00:00 2001 From: jomcarvajal Date: Tue, 4 Feb 2025 16:00:30 -0600 Subject: [PATCH] identation fixed --- src/components/SectionNav.spec.tsx | 66 +++++++++---------- src/components/SectionNav/styles.ts | 2 +- .../__snapshots__/SectionNav.spec.tsx.snap | 20 +++--- 3 files changed, 44 insertions(+), 44 deletions(-) diff --git a/src/components/SectionNav.spec.tsx b/src/components/SectionNav.spec.tsx index a28b3445..85d269d6 100644 --- a/src/components/SectionNav.spec.tsx +++ b/src/components/SectionNav.spec.tsx @@ -3,40 +3,40 @@ import renderer from 'react-test-renderer'; describe('SectionNav', () => { - const childrenListWithKeys = [ - , - , - , - , - , - ]; + const childrenListWithKeys = [ + , + , + , + , + , + ]; - const handlePrev = jest.fn(); - const handleNext = jest.fn(); + const handlePrev = jest.fn(); + const handleNext = jest.fn(); - it('matches snapshot', () => { - const tree = renderer.create( - - {childrenListWithKeys} - - ).toJSON(); - expect(tree).toMatchSnapshot(); - }); + it('matches snapshot', () => { + const tree = renderer.create( + + {childrenListWithKeys} + + ).toJSON(); + expect(tree).toMatchSnapshot(); + }); - it('matches snapshot when arrows are disabled', () => { - const tree = renderer.create( - - {childrenListWithKeys} - - ).toJSON(); - expect(tree).toMatchSnapshot(); - }); + it('matches snapshot when arrows are disabled', () => { + const tree = renderer.create( + + {childrenListWithKeys} + + ).toJSON(); + expect(tree).toMatchSnapshot(); + }); }); diff --git a/src/components/SectionNav/styles.ts b/src/components/SectionNav/styles.ts index 55a42b9a..2297dc2d 100644 --- a/src/components/SectionNav/styles.ts +++ b/src/components/SectionNav/styles.ts @@ -21,7 +21,7 @@ export const SectionNavWrapper = styled.div` export const SectionNavGroup = styled.div` flex: 0 0 auto; &:not(:last-child) { - margin-right: 1rem; + margin-right: 0.8rem; } `; diff --git a/src/components/__snapshots__/SectionNav.spec.tsx.snap b/src/components/__snapshots__/SectionNav.spec.tsx.snap index 39d9c024..3754644f 100644 --- a/src/components/__snapshots__/SectionNav.spec.tsx.snap +++ b/src/components/__snapshots__/SectionNav.spec.tsx.snap @@ -27,35 +27,35 @@ exports[`SectionNav matches snapshot 1`] = ` className="sc-gsnTZi hTCAIx" >