diff options
author | eug-vs <eug-vs@keemail.me> | 2020-03-21 17:59:30 +0300 |
---|---|---|
committer | eug-vs <eug-vs@keemail.me> | 2020-03-21 17:59:30 +0300 |
commit | c708ed105c580ed23bf27b6b5ed1e312ed139f57 (patch) | |
tree | 3e7c1abb50ab4b6f0ee8d08146cae8bd5475e985 | |
parent | 5de3d6bc92a3dce752dad2ce2acc17071383b6fa (diff) | |
download | chrono-cube-ui-c708ed105c580ed23bf27b6b5ed1e312ed139f57.tar.gz |
fix: add missing return type
-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/>; |