diff options
Diffstat (limited to 'packages/merchant-backoffice-ui/src/InstanceRoutes.tsx')
-rw-r--r-- | packages/merchant-backoffice-ui/src/InstanceRoutes.tsx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/packages/merchant-backoffice-ui/src/InstanceRoutes.tsx b/packages/merchant-backoffice-ui/src/InstanceRoutes.tsx index cb4abdd40..1547442ea 100644 --- a/packages/merchant-backoffice-ui/src/InstanceRoutes.tsx +++ b/packages/merchant-backoffice-ui/src/InstanceRoutes.tsx @@ -68,6 +68,7 @@ import LoginPage from "./paths/login/index.js"; import NotFoundPage from "./paths/notfound/index.js"; import { Notification } from "./utils/types.js"; import { MerchantBackend } from "./declaration.js"; +import { Settings } from "./paths/settings/index.js"; export enum InstancePaths { // details = '/', @@ -100,6 +101,8 @@ export enum InstancePaths { webhooks_list = "/webhooks", webhooks_update = "/webhooks/:tid/update", webhooks_new = "/webhooks/new", + + settings = "/settings", } // eslint-disable-next-line @typescript-eslint/no-empty-function @@ -240,6 +243,9 @@ export function InstanceRoutes({ <Menu instance={id} admin={admin} + onShowSettings={() => { + route("/settings") + }} path={path} onLogout={clearTokenAndGoToRoot} setInstanceName={setInstanceName} @@ -558,6 +564,7 @@ export function InstanceRoutes({ }} /> <Route path={InstancePaths.kyc} component={ListKYCPage} /> + <Route path={InstancePaths.settings} component={Settings} /> {/** * Example pages */} |