Skip to content

Commit

Permalink
[Package]: migrate TepLink component to TypeScript
Browse files Browse the repository at this point in the history
  • Loading branch information
raskolnikov-rodion committed May 18, 2024
1 parent 0ad1a48 commit 6f32b22
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@ const useStyles = makeStyles(theme => ({
},
}));

function TepLink({ ensgId }) {
type TepLinkProps = {
ensgId: string;
};

function TepLink({ ensgId }: TepLinkProps) {
const classes = useStyles();

const { loading, data } = useQuery(TEP_LINK_QUERY, {
Expand Down

0 comments on commit 6f32b22

Please sign in to comment.