diff options
Diffstat (limited to 'packages/merchant-backoffice-ui/src/paths/instance/kyc/list/index.tsx')
-rw-r--r-- | packages/merchant-backoffice-ui/src/paths/instance/kyc/list/index.tsx | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/packages/merchant-backoffice-ui/src/paths/instance/kyc/list/index.tsx b/packages/merchant-backoffice-ui/src/paths/instance/kyc/list/index.tsx index ed0e1220f..ff63dc64e 100644 --- a/packages/merchant-backoffice-ui/src/paths/instance/kyc/list/index.tsx +++ b/packages/merchant-backoffice-ui/src/paths/instance/kyc/list/index.tsx @@ -45,12 +45,7 @@ export default function ListKYC(_p: Props): VNode { return <div /> } case HttpStatusCode.BadGateway: { - const status = result.body; - - if (!status) { - return <div>no kyc required</div>; - } - return <ListPage status={status} />; + return <ListPage status={result.body} />; } case HttpStatusCode.ServiceUnavailable: { |