Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Remove handler function

Terry Suttonc4593911d9cc
diff --git a/packages/ui/src/components/Typography/Link.tsx b/packages/ui/src/components/Typography/Link.tsx
index 910d05b4170..b7122dcb14e 100644
--- a/packages/ui/src/components/Typography/Link.tsx
+++ b/packages/ui/src/components/Typography/Link.tsx
@@ -1,4 +1,3 @@
-import { HandlerFunction } from '@storybook/addon-actions'
import React from 'react'
// @ts-ignore
// import LinkStyles from './Link.module.css'
@@ -9,17 +8,10 @@ interface Props {
href?: string
className?: string
style?: React.CSSProperties
- onClick?: HandlerFunction
+ onClick?: any
}
-function Link({
- children,
- target = '_blank',
- href,
- className,
- onClick,
- style,
-}: Props) {
+function Link({ children, target = '_blank', href, className, onClick, style }: Props) {
// let classes = [
// LinkStyles['sbui-typography'],
// LinkStyles['sbui-typography-link'],