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 33c3ba1 commit 3916cc7Copy full SHA for 3916cc7
src/containers/AsideNavigation/InformationPopup/InformationPopup.tsx
@@ -42,21 +42,17 @@ export function InformationPopup({onKeyboardShortcutsClick, className}: Informat
42
]}
43
filterable={false}
44
virtualized={false}
45
- renderItem={({text, url}) =>
46
- url ? (
47
- <Link
48
- className={b('docs-link')}
49
- rel="noopener"
50
- target="_blank"
51
- href={url}
52
- title={typeof text === 'string' ? text : undefined}
53
- >
54
- {text}
55
- </Link>
56
- ) : (
57
- text
58
- )
59
- }
+ renderItem={({text, url}) => (
+ <Link
+ className={b('docs-link')}
+ rel="noopener"
+ target="_blank"
+ href={url}
+ title={typeof text === 'string' ? text : undefined}
+ >
+ {text}
+ </Link>
+ )}
60
itemClassName={b('item')}
61
/>
62
</div>
0 commit comments