Fix navigation for onboarding

This commit is contained in:
Ana Custura 2026-06-22 15:49:56 +01:00
parent 3d40ff7912
commit 0838579407
2 changed files with 2 additions and 2 deletions

View file

@ -231,7 +231,7 @@ const App: React.FC = () => {
<Route path="/" element={<Home/>}/>
{currentUser && <Route path="/profile" element={<Profile/>}/> }
{currentUser && <Route path="/organisations" element={<Organisations/>}/> }
{currentUser && <Route path="/create-org-flow" element={<CreateOrgFlow/>}/> }
{currentUser && <Route path="/create" element={<CreateOrgFlow/>}/> }
{currentUser && <Route path="/bridges" element={<Bridges/>}/> }

View file

@ -17,7 +17,7 @@ const Home: React.FC = () => {
<h3>If your organisation already uses SR2 Cloud, please ask your administrator to add you to the organisation.</h3>
<p> If your organanisation is new to SR2 Cloud, start the onboarding process </p>
<Button type="primary" onClick={() => navigate('/organisations')}> Start onboarding </Button>
<Button type="primary" onClick={() => navigate('/create')}> Start onboarding </Button>
</>
}