Fix style code format

This commit is contained in:
2023-10-31 09:57:10 +07:00
parent 7553e5d170
commit 041b27617c
5 changed files with 71 additions and 31 deletions
+9 -2
View File
@@ -24,8 +24,15 @@ export const useFetch = (
setIsPending(true);
// Set default value
const sortBy = tempSortBy ? tempSortBy : DEFAULT_SORT_BY;
const orderBy = tempOrderBy ? tempOrderBy : DEFAULT_ORDER_BY;
// prettier-ignore
const sortBy = tempSortBy
? tempSortBy
: DEFAULT_SORT_BY;
// prettier-ignore
const orderBy = tempOrderBy
? tempOrderBy
: DEFAULT_ORDER_BY;
// Query search
const query = searchQuery(phoneNum, sortBy, orderBy);