diff options
Diffstat (limited to 'src/components/GithubAvatar/GithubAvatar.tsx')
-rw-r--r-- | src/components/GithubAvatar/GithubAvatar.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/GithubAvatar/GithubAvatar.tsx b/src/components/GithubAvatar/GithubAvatar.tsx index 5daaac1..32ac553 100644 --- a/src/components/GithubAvatar/GithubAvatar.tsx +++ b/src/components/GithubAvatar/GithubAvatar.tsx @@ -10,7 +10,7 @@ interface PropTypes { } const githubUrl = 'https://github.com/'; -const getUserGithubUrl = (username: string) => githubUrl + username; +const getUserGithubUrl = (username: string): string => githubUrl + username; const GithubAvatar: React.FC<PropTypes> = ({ username }) => { if (username === 'anonymous') return <Avatar/>; |