[fix] fix some problem in code style

This commit is contained in:
PrinOrange
2024-09-28 22:13:37 +08:00
parent 6d15618747
commit 19a78c0704
4 changed files with 3 additions and 5 deletions

View File

@@ -24,7 +24,7 @@ export default function SearchPage(props: SearchPageProps) {
const { toast } = useToast();
const fetchSearchAPI = (param: string): Promise<TSearchResultItem[]> => {
setIsLoading(true)
setIsLoading(true);
return axios.get<TSearchResultItem[]>(`/api/search/${param}`).then((response) => response.data);
};