generated from Zoltu/preact-es2020-template
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Re-implement transfer using funtypes (#204)
* redefine amount as bigint * add max button to amount input * rework component style handling * amount field update * amount and input address field * ease on address checking * rework caching (+10 squashed commits) Squashed commits: [3790ff2] renamed recent transfer to history [3f1cdbc] apply form to transferpage [2a6a86c] cleanup loggers [8c8a92c] fix recent transfer formatting [094e796] record transfer from separate component [296e6a7] add transfer function to form [681b2f3] remove unused component [5ba1f6f] transfer button component [b60537d] move functionality from provider [a4b81ee] input text color on invalid * create wallet context * cleanup legacy components * fix max button * transfer redirect * fix formatting issue * Update app/ts/components/ConnectAccount.tsx inline error message Co-authored-by: KillariDev <[email protected]> * Update app/ts/components/TransferAddressField.tsx remove unused code Co-authored-by: KillariDev <[email protected]> * remove unreachable switch default case * remove unused quantity parser schema * Improved Token Picker and New Token Dialogs (#207) * move account schema to separate context * cleaner add token implementation * update add behavior and icon * fix code formatting * auto fetch token balance * Update app/ts/components/TokenAdd.tsx parallelize call Co-authored-by: KillariDev <[email protected]> --------- Co-authored-by: KillariDev <[email protected]> --------- Co-authored-by: KillariDev <[email protected]>
- Loading branch information
1 parent
eccd54b
commit ab29b8c
Showing
44 changed files
with
1,877 additions
and
1,269 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,29 @@ | ||
import { Route, Router } from './HashRouter.js' | ||
import { TransferPage } from './TransferPage/index.js' | ||
import { Notices } from './Notice.js' | ||
import { SplashScreen } from './SplashScreen.js' | ||
import { TransactionPage } from './TransactionPage/index.js' | ||
import { ErrorAlert } from './ErrorAlert.js' | ||
import { TransferPage } from './TransferPage/index.js' | ||
import { WalletProvider } from '../context/Wallet.js' | ||
import { AccountProvider } from '../context/Account.js' | ||
|
||
export function App() { | ||
return ( | ||
<SplashScreen> | ||
<Router> | ||
<Route path=''> | ||
<TransferPage /> | ||
</Route> | ||
<Route path='#tx/:transaction_hash'> | ||
<TransactionPage /> | ||
</Route> | ||
<Route path='#saved/:index'> | ||
<TransferPage /> | ||
</Route> | ||
</Router> | ||
<Notices /> | ||
<ErrorAlert /> | ||
<WalletProvider> | ||
<AccountProvider> | ||
<Router> | ||
<Route path=''> | ||
<TransferPage /> | ||
</Route> | ||
<Route path='#tx/:transaction_hash'> | ||
<TransactionPage /> | ||
</Route> | ||
</Router> | ||
<Notices /> | ||
<ErrorAlert /> | ||
</AccountProvider> | ||
</WalletProvider> | ||
</SplashScreen> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.