-
Notifications
You must be signed in to change notification settings - Fork 49
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(swap): Integrate open orders with MuesliSwap API #2668
Changes from 4 commits
d3eb9d0
e2431b6
7f85bd5
25adf10
6bea0c4
15eb705
cc3aa8c
696cddd
a63e6ea
f39e776
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import React from 'react' | ||
|
||
import {Icon} from '../../../../components' | ||
import {COLORS} from '../../../../theme' | ||
|
||
// TODO add icons for each pool and change it depending on name | ||
/* eslint-disable @typescript-eslint/no-unused-vars */ | ||
export const PoolIcon = ({providerId, size}: {providerId: string; size: number}) => { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Used in pool selector and open orders list There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do the same as mentioned below. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. That's now added |
||
return <Icon.YoroiNightly size={size} color={COLORS.SHELLEY_BLUE} /> | ||
} |
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.
I think it also need the primary token info for some of the transformations
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.
That should be now updated