From dee4f642cdba418351e7abb178b3cb8dbae2eeac Mon Sep 17 00:00:00 2001
From: eug-vs <eug-vs@keemail.me>
Date: Tue, 7 Apr 2020 15:37:27 +0300
Subject: fix: add mising types

---
 src/index.tsx | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

(limited to 'src/index.tsx')

diff --git a/src/index.tsx b/src/index.tsx
index 60453eb..be76722 100644
--- a/src/index.tsx
+++ b/src/index.tsx
@@ -51,7 +51,7 @@ const CustomPage: React.FC = () => {
   const [url, setUrl] = useState<string>('');
   const inputEl = useRef<HTMLInputElement>(null);
 
-  const handleParseUrl = () => {
+  const handleParseUrl = (): void => {
     setUrl(inputEl.current?.value || '');
   }
 
@@ -65,9 +65,7 @@ const CustomPage: React.FC = () => {
         <p>
           <TextField
             inputRef={inputEl}
-            variant="outlined"
-            color="secondary"
-            label="Markdown url"
+            variant="outlined" color="secondary" label="Markdown url"
           />
         </p>
         <Button variant="contained" color="secondary" onClick={handleParseUrl} >
@@ -84,7 +82,7 @@ const App: React.FC = () => {
   const classes = useStyles();
   const [page, setPage] = useState<string>('home');
 
-  const handleGoCustom = () => {
+  const handleGoCustom = (): void => {
     setPage('custom');
   }
 
-- 
cgit v1.2.3

