Skip to content

Commit

Permalink
Update index.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
mfranzke authored Mar 12, 2024
1 parent 53bcd1a commit 368bff5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion showcases/patternhub/components/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 368bff5

Please sign in to comment.