-
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
Unification buttons link in dapp #185
Conversation
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.
LGTM, let's resolve conflicts and we are ready for merge. 🚢
import { USD } from "#/constants" | ||
import PositionDetails from "./PositionDetails" | ||
import Statistics from "./Statistics" | ||
import TransactionHistory from "./TransactionHistory" | ||
import ButtonLink from "../shared/ButtonLink" |
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.
Non-blocking comment
I just noticed that we are not using aliases here. However, the TextSm
component is already imported from #/components/shared/Typography
. When should we use aliases in this case? It would be good to standardize it in code.
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, good catch, my IDE added imports automatically. Updated path for Typography. I think the IDE does it correctly and in case of child/parent nesting we should use a relative path.
Closes: #177
Adjusting design of buttonLink to the newest guidelines buttons:
https://www.figma.com/file/OUdSfHsmgV8EJpWxAzXjl5/Design-Tasks?node-id=2394%3A25690&mode=dev