-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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 component refactor limits #7588
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
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.
lfg
@@ -608,8 +608,10 @@ export function Swap({ | |||
const isDark = useIsDarkMode() | |||
const isUniswapXDefaultEnabled = useUniswapXDefaultEnabled() | |||
|
|||
const [currentTab, setCurrentTab] = useState<SwapTab>(SwapTab.Swap) | |||
|
|||
const swapElement = ( |
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 we should move SwapElement into its own file
Codecov Report
Flags with carried forward coverage won't be shown. Click here to find out more. |
Passing run #15528 ↗︎
Details:
Review all test suite changes for PR #7588 ↗︎ |
Description
add feature flag for limits and refactor the swap UI a little bit to allow for the new tab.
Linear ticket:
Relevant docs: https://www.notion.so/uniswaplabs/Limit-orders-kickoff-936d6300ef7844958851273babe89886
Screen.Recording.2023-11-14.at.2.39.53.PM.mov