diff --git a/src/clients/add/NewClientForm.tsx b/src/clients/add/NewClientForm.tsx index 2027839ecc..49d51c8d41 100644 --- a/src/clients/add/NewClientForm.tsx +++ b/src/clients/add/NewClientForm.tsx @@ -44,7 +44,7 @@ export const NewClientForm = () => { try { const newClient = await adminClient.clients.create({ ...client }); addAlert(t("createSuccess"), AlertVariant.success); - history.push(`/${realm}/clients/${newClient.id}`); + history.push(`/${realm}/clients/${newClient.id}/settings`); } catch (error) { addAlert(t("createError", { error }), AlertVariant.danger); } diff --git a/src/components/bread-crumb/__tests__/PageBreadCrumbs.test.tsx b/src/components/bread-crumb/__tests__/PageBreadCrumbs.test.tsx index d9a5f828d8..30d0eb9380 100644 --- a/src/components/bread-crumb/__tests__/PageBreadCrumbs.test.tsx +++ b/src/components/bread-crumb/__tests__/PageBreadCrumbs.test.tsx @@ -6,7 +6,7 @@ import { MemoryRouter } from "react-router-dom"; describe("BreadCrumbs tests", () => { it("couple of crumbs", () => { const crumbs = mount( - + ); diff --git a/src/components/bread-crumb/__tests__/__snapshots__/PageBreadCrumbs.test.tsx.snap b/src/components/bread-crumb/__tests__/__snapshots__/PageBreadCrumbs.test.tsx.snap index f409280a80..a9e6757e35 100644 --- a/src/components/bread-crumb/__tests__/__snapshots__/PageBreadCrumbs.test.tsx.snap +++ b/src/components/bread-crumb/__tests__/__snapshots__/PageBreadCrumbs.test.tsx.snap @@ -136,7 +136,7 @@ exports[`BreadCrumbs tests couple of crumbs 1`] = ` Client details