diff options
author | Sebastian <sebasjm@gmail.com> | 2024-02-26 17:50:49 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2024-02-26 17:50:49 -0300 |
commit | de8468fcd7f1c74b820486fb6d8854c758458780 (patch) | |
tree | 42187799e918a338b1fa1bab691f41bea52e4397 /packages/demobank-ui/src/components/Transactions/views.tsx | |
parent | 8ee947a676f52c80b80b529eae78a57c17f3e1f7 (diff) | |
download | wallet-core-de8468fcd7f1c74b820486fb6d8854c758458780.tar.gz wallet-core-de8468fcd7f1c74b820486fb6d8854c758458780.tar.bz2 wallet-core-de8468fcd7f1c74b820486fb6d8854c758458780.zip |
wip conversion UI
Diffstat (limited to 'packages/demobank-ui/src/components/Transactions/views.tsx')
-rw-r--r-- | packages/demobank-ui/src/components/Transactions/views.tsx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/packages/demobank-ui/src/components/Transactions/views.tsx b/packages/demobank-ui/src/components/Transactions/views.tsx index 321a6ff3a..ba400b37a 100644 --- a/packages/demobank-ui/src/components/Transactions/views.tsx +++ b/packages/demobank-ui/src/components/Transactions/views.tsx @@ -25,8 +25,8 @@ import { useAccountDetails } from "../../hooks/access.js"; export function ReadyView({ transactions, routeCreateWireTransfer, - onNext, - onPrev, + onGoNext, + onGoStart, }: State.Ready): VNode { const { i18n, dateLocale } = useTranslationContext(); const { config } = useBankCoreApiContext() @@ -219,16 +219,16 @@ export function ReadyView({ <button name="first page" class="relative disabled:bg-gray-100 disabled:text-gray-500 inline-flex items-center rounded-md bg-white px-3 py-2 text-sm font-semibold text-gray-900 ring-1 ring-inset ring-gray-300 hover:bg-gray-50 focus-visible:outline-offset-0" - disabled={!onPrev} - onClick={onPrev} + disabled={!onGoStart} + onClick={onGoStart} > <i18n.Translate>First page</i18n.Translate> </button> <button name="next page" class="relative disabled:bg-gray-100 disabled:text-gray-500 ml-3 inline-flex items-center rounded-md bg-white px-3 py-2 text-sm font-semibold text-gray-900 ring-1 ring-inset ring-gray-300 hover:bg-gray-50 focus-visible:outline-offset-0" - disabled={!onNext} - onClick={onNext} + disabled={!onGoNext} + onClick={onGoNext} > <i18n.Translate>Next</i18n.Translate> </button> |