Skip to content

Commit

Permalink
set LUX token to default sell at swap page, updated UI height
Browse files Browse the repository at this point in the history
  • Loading branch information
foxier25 committed Oct 30, 2024
1 parent f578cc6 commit 55294ba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/pages/Landing/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ const ContentContainer = styled.div<{ isDarkMode: boolean }>`
min-height: 500px;
z-index: ${Z_INDEX.under_dropdown};
transition: ${({ theme }) => `${theme.transition.duration.medium} ${theme.transition.timing.ease} opacity`};
height: 66vh;
height: 82vh;
pointer-events: none;
* {
pointer-events: auto;
Expand Down
4 changes: 2 additions & 2 deletions src/state/swap/hooks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -224,10 +224,10 @@ export function queryParametersToSwapState(parsedQs: ParsedQs): SwapState {

if (inputCurrency === '' && outputCurrency === '' && typedValue === '' && independentField === Field.INPUT) {
// Defaults to having the native currency selected
inputCurrency = 'ETH'
outputCurrency= 'ETH'
} else if (inputCurrency === outputCurrency) {
// clear output if identical
outputCurrency = ''
inputCurrency = ''
}

const recipient = validatedRecipient(parsedQs.recipient)
Expand Down

0 comments on commit 55294ba

Please sign in to comment.