Skip to content

Commit

Permalink
feat(select-field): remove useless ref
Browse files Browse the repository at this point in the history
  • Loading branch information
maximedasilva committed Sep 11, 2024
1 parent 29dad64 commit 4a04ee7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/react/lib/SelectField/index.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,6 @@ export const noEmpty = () => (
);

export const onAForm = () => {
const ref = useRef<SelectFieldRef>(null);
const actions = action('submitted');

return (
Expand All @@ -185,7 +184,6 @@ export const onAForm = () => {
}}
>
<SelectField
ref={ref}
allowArbitraryItems={true}
multiple={true}
noOptionsEnabled={false}
Expand Down

0 comments on commit 4a04ee7

Please # to comment.