aboutsummaryrefslogtreecommitdiff
path: root/FrontEnd/src/views/home/TimelineListView.tsx
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-06-15 15:02:49 +0800
committercrupest <crupest@outlook.com>2021-06-15 15:02:49 +0800
commite0b766203d7576ab67b16ba556ba14120d0bc876 (patch)
treedfeee6d463ecf411daf0a34db0c160a71502cbd9 /FrontEnd/src/views/home/TimelineListView.tsx
parent47587812b809fee2a95c76266d9d0e42fc4ac1ca (diff)
downloadtimeline-e0b766203d7576ab67b16ba556ba14120d0bc876.tar.gz
timeline-e0b766203d7576ab67b16ba556ba14120d0bc876.tar.bz2
timeline-e0b766203d7576ab67b16ba556ba14120d0bc876.zip
...
Diffstat (limited to 'FrontEnd/src/views/home/TimelineListView.tsx')
-rw-r--r--FrontEnd/src/views/home/TimelineListView.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/FrontEnd/src/views/home/TimelineListView.tsx b/FrontEnd/src/views/home/TimelineListView.tsx
index 975875af..2fb54820 100644
--- a/FrontEnd/src/views/home/TimelineListView.tsx
+++ b/FrontEnd/src/views/home/TimelineListView.tsx
@@ -2,7 +2,7 @@ import React from "react";
import { convertI18nText, I18nText } from "@/common";
-import { HttpTimelineInfo } from "http/timeline";
+import { HttpTimelineInfo } from "@/http/timeline";
import { useTranslation } from "react-i18next";
import { Link } from "react-router-dom";
@@ -13,7 +13,7 @@ interface TimelineListItemProps {
const TimelineListItem: React.FC<TimelineListItemProps> = ({ timeline }) => {
const url = React.useMemo(
() =>
- timeline.name.startsWith("@")
+ timeline.name.startsWith("src")
? `/users/${timeline.owner.username}`
: `/timelines/${timeline.name}`,
[timeline]