diff options
author | crupest <crupest@outlook.com> | 2021-05-10 23:10:09 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-05-10 23:10:09 +0800 |
commit | b4e0441dd8b0a238d970d6c9382fd84d86e6e249 (patch) | |
tree | fa8d497b0176d6c7bde35ba95feed254b780e25f /FrontEnd/src/app/views/search | |
parent | 9a5a7ec68b81894e6731e34ada1fba2d513e7b02 (diff) | |
download | timeline-b4e0441dd8b0a238d970d6c9382fd84d86e6e249.tar.gz timeline-b4e0441dd8b0a238d970d6c9382fd84d86e6e249.tar.bz2 timeline-b4e0441dd8b0a238d970d6c9382fd84d86e6e249.zip |
chore: Migrate to prettier 2.3.0.
Diffstat (limited to 'FrontEnd/src/app/views/search')
-rw-r--r-- | FrontEnd/src/app/views/search/index.tsx | 7 |
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 966ca666..ddb68f87 100644 --- a/FrontEnd/src/app/views/search/index.tsx +++ b/FrontEnd/src/app/views/search/index.tsx @@ -49,9 +49,10 @@ const SearchPage: React.FC = () => { const queryParam = searchParams.get("q"); const [searchText, setSearchText] = React.useState<string>(""); - const [state, setState] = React.useState< - HttpTimelineInfo[] | "init" | "loading" | "network-error" | "error" - >("init"); + const [state, setState] = + React.useState< + HttpTimelineInfo[] | "init" | "loading" | "network-error" | "error" + >("init"); const [forceResearchKey, setForceResearchKey] = React.useState<number>(0); |