Skip to content

Commit

Permalink
fix(ant): props
Browse files Browse the repository at this point in the history
  • Loading branch information
stbui committed Oct 21, 2019
1 parent be57f31 commit 51b2c6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/antd/src/button/EditButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ interface Props {
id: string | number;
}

const EditButton: FunctionComponent<Props> = ({ basePath, label, id }) => {
const EditButton: FunctionComponent<any> = ({ basePath, label, id }) => {
const translate = useTranslate();
return <Link to={`${basePath}/${id}`}>{translate(label)}</Link>;
};
Expand Down

0 comments on commit 51b2c6a

Please sign in to comment.