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 | 5dcc741b5ef4391969532e1af3cc4a15bfad6000 (patch) | |
tree | 6cb77791f80fc7a755e6bd95f81d76c11e21c6c0 /FrontEnd/src/app/views/search | |
parent | 17f7af5d3f7333d727b6d873e08e49245993d592 (diff) | |
download | timeline-5dcc741b5ef4391969532e1af3cc4a15bfad6000.tar.gz timeline-5dcc741b5ef4391969532e1af3cc4a15bfad6000.tar.bz2 timeline-5dcc741b5ef4391969532e1af3cc4a15bfad6000.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); |