diff options
author | Sebastian <sebasjm@gmail.com> | 2024-04-07 10:22:40 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2024-04-07 10:22:40 -0300 |
commit | 22856a7756cc41a0bd664eb947fb94f1e1b09e8d (patch) | |
tree | 88d92d3c74979af768e7d88c13b746c204f3aa02 | |
parent | a9606b04f4dafef0263f56f0d0b0d47b6fbd6616 (diff) |
missing - which prevent loading withdrawal operation from anon user
-rw-r--r-- | packages/bank-ui/src/Routing.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/bank-ui/src/Routing.tsx b/packages/bank-ui/src/Routing.tsx index 38833283e..23635d4cd 100644 --- a/packages/bank-ui/src/Routing.tsx +++ b/packages/bank-ui/src/Routing.tsx @@ -84,7 +84,7 @@ const publicPages = { register: urlPattern(/\/register/, () => "#/register"), publicAccounts: urlPattern(/\/public-accounts/, () => "#/public-accounts"), operationDetails: urlPattern<{ wopid: string }>( - /\/operation\/(?<wopid>[a-zA-Z0-9]+)/, + /\/operation\/(?<wopid>[a-zA-Z0-9-]+)/, ({ wopid }) => `#/operation/${wopid}`, ), solveSecondFactor: urlPattern(/\/2fa/, () => "#/2fa"), |