diff options
author | Sebastian <sebasjm@gmail.com> | 2023-03-10 01:27:31 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2023-03-10 01:27:31 -0300 |
commit | 867d2ca76b2ca8903b2263a68243899749de7011 (patch) | |
tree | 5abb027f7976a8694d29e5be4f8d9e8528bf1a0c /packages/taler-wallet-webextension/src/mui/handlers.ts | |
parent | f40487806304dbaafa74544d5a8f74ab56569044 (diff) | |
download | wallet-core-867d2ca76b2ca8903b2263a68243899749de7011.tar.xz |
fix encoded uri, add pay template cta
Diffstat (limited to 'packages/taler-wallet-webextension/src/mui/handlers.ts')
-rw-r--r-- | packages/taler-wallet-webextension/src/mui/handlers.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/taler-wallet-webextension/src/mui/handlers.ts b/packages/taler-wallet-webextension/src/mui/handlers.ts index 61786742f..0bc00ca45 100644 --- a/packages/taler-wallet-webextension/src/mui/handlers.ts +++ b/packages/taler-wallet-webextension/src/mui/handlers.ts @@ -56,6 +56,11 @@ export const nullFunction = async function (): Promise<void> { //do nothing } as SafeHandler<void>; +//FIXME: UI button should required SafeHandler but +//useStateComponent should not be required to create SafeHandlers +//so this need to be splitted in two: +// * ButtonHandlerUI => with i18n +// * ButtonHandlerLogic => without i18n export interface ButtonHandler { onClick?: SafeHandler<void>; // error?: TalerError; |