Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(form): remove unused callback handlers
- Loading branch information
Showing
3 changed files
with
6 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
packages/sanity/src/form/studio/__snapshots__/StudioFormBuilder.test.tsx.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`StudioFormBuilder should render a studio form 1`] = `"<div data-ui=\\"Stack\\" data-testid=\\"field-title\\" data-level=\\"0\\" class=\\"sc-papXJ gjenym sc-ciZhAO efRblM\\"><div data-as=\\"div\\" data-ui=\\"Flex\\" class=\\"sc-papXJ gjenym sc-crXcEl fusAMg\\"><div data-as=\\"div\\" data-ui=\\"Box\\" class=\\"sc-papXJ iLtUjR\\"><div data-ui=\\"Stack\\" class=\\"sc-papXJ gjenym sc-ciZhAO yyfaq\\"><div data-as=\\"div\\" data-ui=\\"Flex\\" class=\\"sc-papXJ gjenym sc-crXcEl dsVrCm\\"><label data-ui=\\"Text\\" class=\\"sc-bczRLJ dsxPVr\\"><span>Title</span></label></div></div></div></div><div><div><div data-testid=\\"change-bar-wrapper\\" class=\\"sc-jvLaUc iUzpVa\\"><div data-testid=\\"change-bar__field-wrapper\\" class=\\"sc-edUIhV jVrGkD\\"><span data-ui=\\"TextInput\\" class=\\"sc-cOFTSb bjlBzY\\"><span class=\\"sc-BeQoi cThryy\\"><input data-as=\\"input\\" id=\\"title\\" type=\\"text\\" class=\\"sc-jgbSNz huLzFw\\" value=\\"\\"><span class=\\"sc-gSAPjG eikjSl\\"></span></span></span></div></div></div></div></div>"`; | ||
exports[`StudioFormBuilder should render a studio form 1`] = `"<div data-ui=\\"Stack\\" data-testid=\\"field-title\\" data-level=\\"0\\"><div data-as=\\"div\\" data-ui=\\"Flex\\"><div data-as=\\"div\\" data-ui=\\"Box\\"><div data-ui=\\"Stack\\"><div data-as=\\"div\\" data-ui=\\"Flex\\"><label data-ui=\\"Text\\"><span>Title</span></label></div></div></div></div><div><div><div data-testid=\\"change-bar-wrapper\\"><div data-testid=\\"change-bar__field-wrapper\\"><span data-ui=\\"TextInput\\"><span><input data-as=\\"input\\" id=\\"title\\" type=\\"text\\" value=\\"\\"><span></span></span></span></div></div></div></div></div>"`; |