aboutsummaryrefslogtreecommitdiff
path: root/Timeline/ClientApp/src/home/Home.tsx
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-06-04 00:18:50 +0800
committercrupest <crupest@outlook.com>2020-06-04 00:18:50 +0800
commitfccd6b4ca8ed7420f25f0c4298fde311bc1e09d0 (patch)
tree787cda66f8997ba842601a261a36b6de95398675 /Timeline/ClientApp/src/home/Home.tsx
parent92e50c4a3ea250dc18c76bc8c29d86d486e63772 (diff)
downloadtimeline-fccd6b4ca8ed7420f25f0c4298fde311bc1e09d0.tar.gz
timeline-fccd6b4ca8ed7420f25f0c4298fde311bc1e09d0.tar.bz2
timeline-fccd6b4ca8ed7420f25f0c4298fde311bc1e09d0.zip
refactor(front): Make codes lint-clean!
Diffstat (limited to 'Timeline/ClientApp/src/home/Home.tsx')
-rw-r--r--Timeline/ClientApp/src/home/Home.tsx6
1 files changed, 3 insertions, 3 deletions
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<TimelineInfo[]>(`${apiBaseUrl}/timelines?visibility=public`)
.then((res) => {
if (subscribe) {
@@ -47,7 +47,7 @@ const Home: React.FC = (_) => {
});
} else {
setPublicTimelines(undefined);
- axios
+ void axios
.get<TimelineInfo[]>(
`${apiBaseUrl}/timelines?relate=${user.username}&relateType=own`
)
@@ -56,7 +56,7 @@ const Home: React.FC = (_) => {
setOwnTimelines(res.data);
}
});
- axios
+ void axios
.get<TimelineInfo[]>(
`${apiBaseUrl}/timelines?relate=${user.username}&relateType=join`
)