From 368bff553e4ab402f72586781b91003c7cf4a6f9 Mon Sep 17 00:00:00 2001 From: Maximilian Franzke <787658+mfranzke@users.noreply.github.com> Date: Tue, 12 Mar 2024 19:31:25 +0100 Subject: [PATCH] Update index.tsx --- showcases/patternhub/components/index.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/showcases/patternhub/components/index.tsx b/showcases/patternhub/components/index.tsx index f1f78490b76..ca274726572 100644 --- a/showcases/patternhub/components/index.tsx +++ b/showcases/patternhub/components/index.tsx @@ -40,7 +40,6 @@ const DefaultComponent = ({ title, variants }: DefaultComponentProps) => { }, [router]); const getHref = (variant: DefaultComponentVariants) => - // eslint-disable-next-line @typescript-eslint/prefer-optional-chain typeof window !== 'undefined' && window.location.origin && window.location.href