website refactor
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import React, { ReactNode, AnchorHTMLAttributes, ElementType } from 'react';
|
||||
import React, { ReactNode } from 'react';
|
||||
import { Box, BoxProps } from './Box';
|
||||
|
||||
interface LinkProps extends Omit<BoxProps<'a'>, 'children' | 'className' | 'onClick'> {
|
||||
@@ -70,7 +70,7 @@ export function Link({
|
||||
className={classes}
|
||||
target={target}
|
||||
rel={rel}
|
||||
onClick={onClick as any}
|
||||
onClick={onClick}
|
||||
style={style}
|
||||
{...props}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user