aboutsummaryrefslogtreecommitdiff
path: root/FrontEnd/src
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-01-29 23:29:52 +0800
committercrupest <crupest@outlook.com>2021-01-29 23:29:52 +0800
commitcc08d98c5e170406b104cadb71add94010c59dae (patch)
tree91885012d9203611eb278986e75737ca700e9d17 /FrontEnd/src
parent72344fcf7a099e1fcc8495d5ea30c64b5dddf183 (diff)
downloadtimeline-cc08d98c5e170406b104cadb71add94010c59dae.tar.gz
timeline-cc08d98c5e170406b104cadb71add94010c59dae.tar.bz2
timeline-cc08d98c5e170406b104cadb71add94010c59dae.zip
Front end migrate to npm because of buggy pnp in yarn 2.
Diffstat (limited to 'FrontEnd/src')
-rw-r--r--FrontEnd/src/app/views/search/index.tsx7
1 files changed, 4 insertions, 3 deletions
diff --git a/FrontEnd/src/app/views/search/index.tsx b/FrontEnd/src/app/views/search/index.tsx
index 3cd3da58..7d11d899 100644
--- a/FrontEnd/src/app/views/search/index.tsx
+++ b/FrontEnd/src/app/views/search/index.tsx
@@ -1,14 +1,15 @@
-import { TimelineInfo } from "@/services/timeline";
import React from "react";
import { Container, Row } from "react-bootstrap";
import { useHistory, useLocation } from "react-router";
import { Link } from "react-router-dom";
+import { HttpNetworkError } from "@/http/common";
import { getHttpSearchClient } from "@/http/search";
-import SearchInput from "../common/SearchInput";
-import { HttpNetworkError } from "@/http/common";
+import { TimelineInfo } from "@/services/timeline";
import { useAvatar } from "@/services/user";
+
+import SearchInput from "../common/SearchInput";
import BlobImage from "../common/BlobImage";
const TimelineSearchResultItemView: React.FC<{ timeline: TimelineInfo }> = ({