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 0bf1471 commit 4fcbbbaCopy full SHA for 4fcbbba
2 files changed
packages/docs-gesture-handler/src/components/RadonBanner/index.tsx
@@ -67,13 +67,5 @@ function RadonBannerInner(): JSX.Element {
67
}
68
69
export default function RadonBanner() {
70
- return (
71
- <BrowserOnly fallback={<div />}>
72
- {() => (
73
- <>
74
- <RadonBannerInner />
75
- </>
76
- )}
77
- </BrowserOnly>
78
- );
+ return <BrowserOnly>{() => <RadonBannerInner />}</BrowserOnly>;
79
packages/docs-gesture-handler/src/theme/TOCItems/index.js
@@ -3,9 +3,5 @@ import { TOCItems } from '@swmansion/t-rex-ui';
3
import RadonBanner from '../../components/RadonBanner';
4
5
export default function TOCItemsWrapper(props) {
6
7
8
- <TOCItems slot={<RadonBanner />} {...props} />
9
10
+ return <TOCItems slot={<RadonBanner />} {...props} />;
11
0 commit comments