From 40cd4e17b6c76e90a58a800606ba53a6d440bd1a Mon Sep 17 00:00:00 2001 From: Abhishek Tripathi <42455093+abhishektripathi66@users.noreply.github.com> Date: Wed, 2 Oct 2024 17:10:24 +0530 Subject: [PATCH 1/2] Update schema.test.ts --- library/src/helpers/__tests__/schema.test.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/library/src/helpers/__tests__/schema.test.ts b/library/src/helpers/__tests__/schema.test.ts index aaa5b6f7a..521062fb6 100644 --- a/library/src/helpers/__tests__/schema.test.ts +++ b/library/src/helpers/__tests__/schema.test.ts @@ -900,7 +900,6 @@ describe('SchemaHelpers', () => { 0, FIRST_CASE, OTHER_CASES, - undefined, ), ).toMatchSnapshot(); @@ -909,7 +908,6 @@ describe('SchemaHelpers', () => { 1, FIRST_CASE, OTHER_CASES, - undefined, ), ).toMatchSnapshot(); }); From 4abbb231cd43790517eb26738246a22da4eec1f7 Mon Sep 17 00:00:00 2001 From: Abhishek Tripathi <42455093+abhishektripathi66@users.noreply.github.com> Date: Wed, 2 Oct 2024 17:44:28 +0530 Subject: [PATCH 2/2] A fragment with only one child is redundant. --- playground/components/SplitWrapper.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/playground/components/SplitWrapper.tsx b/playground/components/SplitWrapper.tsx index 31fd7fc1b..60c3a575c 100644 --- a/playground/components/SplitWrapper.tsx +++ b/playground/components/SplitWrapper.tsx @@ -7,7 +7,6 @@ interface SplitWrapperProps { // react-split should be replaced with a React 18 friendly library or CSS const SplitWrapper = (props: SplitWrapperProps) => ( - <> ( > {props.children} - ); export default SplitWrapper;