fix: remove x-axis clamping behavior in liquidity chart (#2042)
* remove x-axis clamping behavior * remove extra curly braces around errorMessage
This commit is contained in:
parent
8884020fab
commit
f86db00464
@ -60,9 +60,6 @@ export function Chart({
|
||||
}
|
||||
}, [brushDomain, onBrushDomainChange, xScale])
|
||||
|
||||
// ensures the brush remains in view and adapts to zooms
|
||||
xScale.clamp(true)
|
||||
|
||||
return (
|
||||
<>
|
||||
<Zoom
|
||||
|
@ -528,7 +528,7 @@ export default function AddLiquidity({
|
||||
<Trans>Confirm Create</Trans>
|
||||
</Dots>
|
||||
) : (
|
||||
<Text fontWeight={500}>{errorMessage ? { errorMessage } : <Trans>Create</Trans>}</Text>
|
||||
<Text fontWeight={500}>{errorMessage ? errorMessage : <Trans>Create</Trans>}</Text>
|
||||
)}
|
||||
</ButtonError>
|
||||
)}
|
||||
|
Loading…
Reference in New Issue
Block a user