diff options
author | crupest <crupest@outlook.com> | 2021-06-15 17:16:36 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-06-15 17:16:36 +0800 |
commit | a8bc59ae259456b7663af5106b3756b85a5e190b (patch) | |
tree | 7f0af68150f118dfec9317e74cbb25583ec05f9f /FrontEnd/src/views/timeline-common | |
parent | 0be1f595578153765d081cdb4478140da9cb8fc9 (diff) | |
download | timeline-a8bc59ae259456b7663af5106b3756b85a5e190b.tar.gz timeline-a8bc59ae259456b7663af5106b3756b85a5e190b.tar.bz2 timeline-a8bc59ae259456b7663af5106b3756b85a5e190b.zip |
...
Diffstat (limited to 'FrontEnd/src/views/timeline-common')
-rw-r--r-- | FrontEnd/src/views/timeline-common/TimelinePostView.tsx | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/FrontEnd/src/views/timeline-common/TimelinePostView.tsx b/FrontEnd/src/views/timeline-common/TimelinePostView.tsx index e9dd3443..ea40f80a 100644 --- a/FrontEnd/src/views/timeline-common/TimelinePostView.tsx +++ b/FrontEnd/src/views/timeline-common/TimelinePostView.tsx @@ -1,7 +1,6 @@ import React from "react"; import classnames from "classnames"; import { Link } from "react-router-dom"; -import { useTranslation } from "react-i18next"; import { getHttpTimelineClient, HttpTimelinePostInfo } from "@/http/timeline"; @@ -29,8 +28,6 @@ const TimelinePostView: React.FC<TimelinePostViewProps> = (props) => { const { post, className, style, cardStyle, onChanged, onDeleted } = props; const current = props.current === true; - const { t } = useTranslation(); - const [operationMaskVisible, setOperationMaskVisible] = React.useState<boolean>(false); const [dialog, setDialog] = React.useState< |