Skip to content

Commit fe63070

Browse files
ryo-manbaLFDanLu
andauthored
refac: Remove unused variables from Example implementation (#4690)
Co-authored-by: Daniel Lu <[email protected]>
1 parent 31f0fd6 commit fe63070

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/@react-aria/tabs/docs/useTabList.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,15 +101,15 @@ function Tabs(props) {
101101
<div className={`tabs ${props.orientation || ''}`}>
102102
<div {...tabListProps} ref={ref}>
103103
{[...state.collection].map((item) => (
104-
<Tab key={item.key} item={item} state={state} orientation={props.orientation} />
104+
<Tab key={item.key} item={item} state={state} />
105105
))}
106106
</div>
107107
<TabPanel key={state.selectedItem?.key} state={state} />
108108
</div>
109109
);
110110
}
111111

112-
function Tab({item, state, orientation}) {
112+
function Tab({item, state}) {
113113
let {key, rendered} = item;
114114
let ref = React.useRef(null);
115115
let {tabProps} = useTab({key}, state, ref);

0 commit comments

Comments
 (0)