From 3aa87cc26fd58836b82c067b58a47e08e30a7784 Mon Sep 17 00:00:00 2001 From: crupest Date: Thu, 4 Jun 2020 00:18:50 +0800 Subject: refactor(front): Make codes lint-clean! --- Timeline/ClientApp/src/home/Home.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Timeline/ClientApp/src/home/Home.tsx') diff --git a/Timeline/ClientApp/src/home/Home.tsx b/Timeline/ClientApp/src/home/Home.tsx index 25398a0a..495781d0 100644 --- a/Timeline/ClientApp/src/home/Home.tsx +++ b/Timeline/ClientApp/src/home/Home.tsx @@ -38,7 +38,7 @@ const Home: React.FC = (_) => { if (user == null) { setOwnTimelines(undefined); setJoinTimelines(undefined); - axios + void axios .get(`${apiBaseUrl}/timelines?visibility=public`) .then((res) => { if (subscribe) { @@ -47,7 +47,7 @@ const Home: React.FC = (_) => { }); } else { setPublicTimelines(undefined); - axios + void axios .get( `${apiBaseUrl}/timelines?relate=${user.username}&relateType=own` ) @@ -56,7 +56,7 @@ const Home: React.FC = (_) => { setOwnTimelines(res.data); } }); - axios + void axios .get( `${apiBaseUrl}/timelines?relate=${user.username}&relateType=join` ) -- cgit v1.2.3