Skip to content

Commit 36f81d2

Browse files
committed
Fix build
1 parent 723efde commit 36f81d2

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

packages/ui/src/hooks/use-focus-trap/stories/use-focus-trap.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export const UseFocusTrap = function () {
1717
}
1818
return (
1919
<Fragment>
20-
<Textbox name="text" onValueInput={setValue} value={value} />
20+
<Textbox onValueInput={setValue} value={value} />
2121
<VerticalSpace space="small" />
2222
<Button fullWidth onClick={handleClick}>
2323
Submit

packages/ui/src/hooks/use-initial-focus/stories/use-initial-focus.stories.tsx

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,7 @@ export const UseInitialFocus = function () {
1717
}
1818
return (
1919
<Fragment>
20-
<Textbox
21-
{...initialFocus}
22-
name="text"
23-
onValueInput={setValue}
24-
value={value}
25-
/>
20+
<Textbox {...initialFocus} onValueInput={setValue} value={value} />
2621
<VerticalSpace space="small" />
2722
<Button fullWidth onClick={handleClick}>
2823
Submit

0 commit comments

Comments
 (0)