From c708ed105c580ed23bf27b6b5ed1e312ed139f57 Mon Sep 17 00:00:00 2001
From: eug-vs <eug-vs@keemail.me>
Date: Sat, 21 Mar 2020 17:59:30 +0300
Subject: fix: add missing return type

---
 src/components/GithubAvatar/GithubAvatar.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/components/GithubAvatar/GithubAvatar.tsx')

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/>;
-- 
cgit v1.2.3

