From f8cfeb8a3d83ad0b57dee83258b6aa24af4fa344 Mon Sep 17 00:00:00 2001 From: Alain Brenzikofer Date: Tue, 16 Apr 2024 09:32:30 +0200 Subject: [PATCH] simplify. make mobile work --- public/logo.png | Bin 17211 -> 4791 bytes src/App.tsx | 53 +++++++++----------------------- src/components/TransferForm.tsx | 27 ++-------------- 3 files changed, 17 insertions(+), 63 deletions(-) diff --git a/public/logo.png b/public/logo.png index ce4511a07dbd7529b766ae217508567e1df3fc7e..65c06fce21e996b1499a0894171b51eac6bced57 100644 GIT binary patch literal 4791 zcmV;o5=iZdP)eUWI?%L0no>Tdz?9HJrj$T>;Z7Mo<_=|;Y3U^;&@zR#gr+k<3D6{yelcxQlGaWM zYSJWbJ}k-S$ckdejvd>QES-<_@W4b{1ZZGYgTO>@38PJp{Cb z??vIGrBdmVrRrNU0dvw$AQ=68M7P=Qo+#B`)!kT#?C-06z;<^;e{S?1Kn3aArRrM} z0Rw#lZCE+FzYq|X2-axJhMC@F-;0i)I* zFGlY|M2a5)tPq|M^aHzNvJL3dl71Xm(P%U(i_yDa0tWl~wkvB}W0;oMp!XsMX}qs`TZ>4FMtE9LTn zqryT72vYbIG4=`X29~*AFClgTYc1^u5ZnOaZh+aYuB#UZ^UN~aIkf`-`)-?`0w@HY z1J>GnC)Q&bSQf-CXq9Y#a-rB3G-14%sz&2c;H1%;ls^qd?~u6%U~YQ) zbxQ$#y39>YZOd(c3H){d8hjPF3Yb~bY(6IOCScZ?9|lSQS$lT4)za8OK!6JY1TTUrz_U;9-#-a#1dfmF-#dD}b7DPZEx;_9Z+HT~a+XOX$AeEke`souuU9f6rddD+C zD{(>-kO;24o^a>ctd9_zGp4s2mcO_{@{{F^tc`Kp^JOch{fZ1kq_fiR% zZ8moS$h@1BTlDq!_g^XWC}?@5RJsCu0%+d}1rtkYzH3PB0JiJEF;L;;$&+P%XhVD% z0Rw$~Z=pqB0_r2!bNQdzLw+|LDIYmg&K|!1a24JOq~Ib52I`%{;_z6W%k_J#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U!`e}&O>A6zp1!t6D95sHg-Y6I<4ejaI3`n6RxsHUEb&M%%rNEkGyCj&41lgqgD zuxZyo$v;-^;f%?Fb_)LRn9QID1X6bQBPCWMosd|VB&O)|=q&tyb?C9USVqcH!yn(c z5cgzA79~cy##|LiHb{%q#`rFo0C*B4`_(9ih9b>m`lOBH`$nI8)N`EYH0aKgoSe+Z zbc--69>}+!de)UWkuyjg=Hj}#hR;nDba`?_Of0ca=8&=ZVX@nxY;0M#?=j#>GCHl) zE$s4kzZSyRK(2)GN7>|=L-2JVVS42ck>PihZuibs$9I?YHC)SEq8wt zLKu6SS?0zv4us^{q5uE^5J^NqRI~2>ekG-b;1J%vH_6Y{oq``KR(l2odPIkcG&534p&l|liUMvdx_)g zy8BKDVHiUk*MFU3Gn;R2Y?N-dyKiO_0A;n;n}rZY0G?=BMMO>yUt(Vql4ApIn$c5? zlN7@IN6xdRY0S*Blk?nqm2<*J#Tb$6#($)y~T%qfIoW)?yS z)9Lh}lyVI1l3=Vx$2U< zUh60BXbXvmh=_=Yh=_=Yh=_=Yh=_=Yh{%8CCs#UBUn(Qr8UO$Q07*qoM6N<$g2d=d Ar~m)} diff --git a/src/App.tsx b/src/App.tsx index 0607dcd..51cd59c 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -98,44 +98,21 @@ const App = () => { ))} - - - - - - {selectedAccount ? ( - - ) : ( - - )} - - - - - {({ isActive }) => ( - } - style={{ borderRadius: 4 }} - /> - )} - - - - - - - - - + + + {selectedAccount ? ( + + ) : ( + + )} + + + + + ); diff --git a/src/components/TransferForm.tsx b/src/components/TransferForm.tsx index aa85900..e49c961 100644 --- a/src/components/TransferForm.tsx +++ b/src/components/TransferForm.tsx @@ -10,7 +10,7 @@ export type FormValues = { to: TNodeWithRelayChains; currency: string; address: string; - amount: string; + amount: number; useApi: boolean; }; @@ -26,7 +26,7 @@ const TransferForm: FC = ({ onSubmit, loading }) => { from: 'Encointer', to: 'Kusama', currency: 'KSM', - amount: '0.2', + amount: 0.2, address: selectedAccount? selectedAccount.address : '', useApi: false, }, @@ -36,33 +36,10 @@ const TransferForm: FC = ({ onSubmit, loading }) => { }, }); - const isNotParaToPara = - form.values.from === 'Polkadot' || - form.values.from === 'Kusama' || - form.values.to === 'Polkadot' || - form.values.to === 'Kusama'; - return (
- {!isNotParaToPara && ( - - )} - - - -