mirror of
https://github.com/Nezumi-2711/react-training.git
synced 2026-09-22 20:01:59 +00:00
Fix style code format
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user