Skip to content

Commit 61145fd

Browse files
committed
fix type error
1 parent 3c9f86c commit 61145fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/button.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ interface Props {
99
label?: string;
1010
}
1111

12-
const Button: React.FC = ({ side = 'left', children, icon, link }: Props) => {
12+
const Button: React.FC<Props> = ({ side = 'left', children, icon, link }: Props) => {
1313
return (
1414
<div className="h-fit w-fit">
1515
<a href={link}>

0 commit comments

Comments
 (0)