aboutsummaryrefslogtreecommitdiff
path: root/FrontEnd/src/app/views/search/index.tsx
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
commit5b3c461d7fd5418f27606cc04b08aa52df010687 (patch)
tree761ba11db37ffb8a79082063a80a79c50ad5eb2d /FrontEnd/src/app/views/search/index.tsx
parent15ebe6a7197a3b7761ff153f70812d0366036cec (diff)
downloadtimeline-5b3c461d7fd5418f27606cc04b08aa52df010687.tar.gz
timeline-5b3c461d7fd5418f27606cc04b08aa52df010687.tar.bz2
timeline-5b3c461d7fd5418f27606cc04b08aa52df010687.zip
Front end migrate to npm because of buggy pnp in yarn 2.
Diffstat (limited to 'FrontEnd/src/app/views/search/index.tsx')
-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 }> = ({