diff --git a/apps/laboratory/src/components/RandomLink.tsx b/apps/laboratory/src/components/RandomLink.tsx index b989964cf0..37dbcae0cb 100644 --- a/apps/laboratory/src/components/RandomLink.tsx +++ b/apps/laboratory/src/components/RandomLink.tsx @@ -7,9 +7,6 @@ export function RandomLink({ hrefs, children }: { hrefs: string[]; children: Rea const [href, setHref] = useState() useEffect(() => { const newHref = hrefs[Math.floor(Math.random() * hrefs.length)] - if (!href) { - throw new Error('No hrefs provided') - } setHref(newHref) }, [hrefs])