airswap-web
airswap-web copied to clipboard
AirSwap Web App
 I swapped to ETH but it shows WETH. It was unwrapped so the UI should display ETH instead of WETH.
 We can reuse the `getTimeBetweenTwoDates` helper from @codyenokida . Just need to refactor it a bit because the "ago" translations is baked into it....
Figma: https://www.figma.com/file/DTJwC2mQ9kvyjM0171tqHR/airswap-web?node-id=10495%3A9993 
 We can reuse the `getTimeBetweenTwoDates` helper made by @codyenokida . Just need to refactor it a bit because the "ago" translations are baked into...
Right now we only have a "home" route. So I'm rewriting the current routing system.
New dropdown component. Should be a [controlled component](https://reactjs.org/docs/forms.html#controlled-components). Interface: ``` label: string; name: string; value?: SelectOption; options: SelectOption[]; onChange: (option: SelectOption) => void; ``` SelectOption: ``` label: string; value: string;...
Figma: https://www.figma.com/file/DTJwC2mQ9kvyjM0171tqHR/airswap-web?node-id=10495%3A9993 
Right now it's a subcomponent of SwapWidget, so it should be a normal component. It's not a lot of work actually, might delete this later.