-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: all features added #11
base: dappnet
Are you sure you want to change the base?
Conversation
}, | ||
[data, poolsList], | ||
); | ||
useMemo(() => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
make no sense
if (favorites.length === 0) { | ||
handleSort('all'); | ||
} | ||
}, [favorites.length]); | ||
|
||
useMemo(() => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
make no sense
<HeaderWrapperSort> | ||
<Sort> | ||
<WrapperSelect> | ||
<ReactSelect | ||
options={options} | ||
isClearable | ||
onChange={(e) => onFilter(e)} | ||
defaultValue={() => localFiltered} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why the value is the function?)
@@ -129,6 +149,7 @@ export const PoolsList = () => { | |||
key={el.value} | |||
active={currentFilter === el.value} | |||
onClick={() => handleSort(el.value)} | |||
disabled={!!(el.value === 'fav' && !favorites.length)} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
move check to variable
# Conflicts: # src/app/core/api.tsx
# Conflicts: # src/app/core/api.tsx
# Conflicts: # src/app/shared/constants/common.tsx
# Conflicts: # html/index.js # src/app/shared/components/Window.tsx
No description provided.