Handle "no body" case

This commit is contained in:
Gregory Schier
2023-03-20 13:49:21 -07:00
parent bb139744a1
commit a938dc45f0
4 changed files with 12 additions and 11 deletions

View File

@@ -68,6 +68,7 @@ export const Tabs = memo(function Tabs({
{tabs.map((t) => {
const isActive = t.value === value;
if (t.options && isActive) {
console.log('OPTIONS', t.options, t.options?.value);
return (
<RadioDropdown
key={t.value}