We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61d704d commit a2c3f42Copy full SHA for a2c3f42
packages/compass-connections-navigation/src/connections-navigation-tree.tsx
@@ -233,25 +233,7 @@ const ConnectionsNavigationTree: React.FunctionComponent<
233
onItemExpand={onItemExpand}
234
getItemActions={getItemActionsAndConfig}
235
getItemKey={(item) => item.id}
236
- renderItem={({
237
- item,
238
- isActive,
239
- isFocused,
240
- onItemAction,
241
- onItemExpand,
242
- getItemActions,
243
- }) => {
244
- return (
245
- <NavigationItem
246
- item={item}
247
- isActive={isActive}
248
- isFocused={isFocused}
249
- getItemActions={getItemActions}
250
- onItemExpand={onItemExpand}
251
- onItemAction={onItemAction}
252
- />
253
- );
254
- }}
+ renderItem={NavigationItem}
255
/>
256
)}
257
</AutoSizer>
0 commit comments