fix(docs): Fix SSR build errors by dynamically importing UI components and resolving other issues (#4991)

This commit is contained in:
Dan Rukas authored and GitHub committed 2025-04-22 13:28:49 -04:00
1 parent d59828ab22
commit 09ac43f297
6 files changed
+341 -348

No files matched your search

+22 -20
View File
@@ -7,25 +7,27 @@ export default function Patterns() {
return (
<Layout>
<h1>Patterns</h1>
<button
className="bg-slate-400"
onClick={() => history.push('/patterns/patterns-segmentation')}
>
{'Segmentation Panel'}
</button>
<button
className="bg-slate-400"
onClick={() => history.push('/patterns/patterns-measurements')}
>
{'Measurements Panel'}
</button>
<button
className="bg-slate-400"
onClick={() => history.push('/patterns/patterns-tmtv')}
>
{'tmtv'}
</button>
<div>
<h1>Patterns</h1>
<button
className="bg-slate-400"
onClick={() => history.push('/patterns/patterns-segmentation')}
>
{'Segmentation Panel'}
</button>
<button
className="bg-slate-400"
onClick={() => history.push('/patterns/patterns-measurements')}
>
{'Measurements Panel'}
</button>
<button
className="bg-slate-400"
onClick={() => history.push('/patterns/patterns-tmtv')}
>
{'tmtv'}
</button>
</div>
</Layout>
);
}
}