@rango-dev/ui 0.1.14-next.2 → 0.1.14-next.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rango-dev/ui",
3
- "version": "0.1.14-next.2",
3
+ "version": "0.1.14-next.3",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",
@@ -73,7 +73,7 @@
73
73
  "@radix-ui/react-radio-group": "^1.1.1",
74
74
  "@radix-ui/react-switch": "^1.0.1",
75
75
  "@radix-ui/react-tooltip": "^1.0.2",
76
- "@rango-dev/wallets-shared": "^0.1.13-next.0",
76
+ "@rango-dev/wallets-shared": "^0.1.13-next.1",
77
77
  "@stitches/react": "^1.2.8",
78
78
  "@types/react-color": "^3.0.6",
79
79
  "rango-sdk": "^0.1.20",
@@ -60,7 +60,7 @@ type Theme = 'dark' | 'light' | 'auto';
60
60
  export interface PropTypes {
61
61
  slippages: number[];
62
62
  selectedSlippage: number;
63
- customSlippage: number;
63
+ customSlippage: number | null;
64
64
  maxSlippage: number;
65
65
  minSlippage: number;
66
66
  liquiditySources: LiquiditySource[];
@@ -134,7 +134,7 @@ export function Settings(props: PropTypes) {
134
134
  ))}
135
135
  <TextField
136
136
  type="number"
137
- value={customSlippage}
137
+ value={customSlippage || ''}
138
138
  onChange={(event) => {
139
139
  const parsedValue = parseFloat(event.target.value);
140
140
  if (