Skip to content
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

Export hooks and constants, add balance required #72

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

beautyfree
Copy link

No description provided.

@beautyfree beautyfree changed the title chore: export hooks, fix rerendering, add balance required WIP export hooks, fix rerendering, add balance required Jul 30, 2021
@beautyfree beautyfree force-pushed the master branch 2 times, most recently from 4778ab7 to 81925cd Compare July 30, 2021 13:59
@beautyfree beautyfree changed the title WIP export hooks, fix rerendering, add balance required Export hooks, fix rerendering, add balance required Jul 30, 2021
src/context/Dex.tsx Outdated Show resolved Hide resolved
useMarketName,
useMarket,
useBbo,
FEE_MULTIPLIER,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These probably shouldn't be exported unless we have a concrete use cases.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I recreated SwapButton with additional logic on my side, so all these exports are very necessary :)

@beautyfree beautyfree changed the title Export hooks, fix rerendering, add balance required Export hooks, add balance required Aug 30, 2021
@beautyfree beautyfree changed the title Export hooks, add balance required Export hooks and constants, add balance required Aug 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants