-
Notifications
You must be signed in to change notification settings - Fork 101
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
[4.3] refactor(tokens): wire up components to new hooks #3198
[4.3] refactor(tokens): wire up components to new hooks #3198
Conversation
…protocol/cowswap into refactor/tokens-lib-wiring-3
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@@ -0,0 +1,64 @@ | |||
import { useMemo } from 'react' |
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.
Just moved this file from another directory, changed nothing here
…protocol/cowswap into refactor/tokens-lib-wiring-3
…protocol/cowswap into refactor/tokens-lib-wiring-3
@@ -50,7 +50,6 @@ const PageView = { | |||
} | |||
|
|||
export default function TokensOverview() { | |||
useInitFavouriteTokens() |
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.
No longer needed?
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.
Yep
…protocol/cowswap into refactor/tokens-lib-wiring-3 # Conflicts: # apps/cowswap-frontend/src/legacy/components/Header/index.tsx
Summary
In this PR I mostly replaced legacy hooks and state to a new
@cowprotocol/tokens
. The goal is to bind App logic to a new source of data.I also continued working on migrating from Uniswap entities.
To Test
Please, test everything in #3201