mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-09-09 10:58:14 +00:00
fix: the issue in the sheets file
This commit is contained in:
@@ -217,7 +217,7 @@ const sidebarItems: SidebarItem[] = [
|
||||
const App = () => {
|
||||
const navigate = useNavigate();
|
||||
const location = useLocation();
|
||||
const { user, company, companyType, createProfileAndSwitch, isAuthenticated } =
|
||||
const { user, company, companyType, createProfile, isAuthenticated } =
|
||||
useAuth();
|
||||
|
||||
// Keep the server session alive while a user is logged in. Runs after
|
||||
@@ -274,7 +274,7 @@ const App = () => {
|
||||
userEmail={userEmail}
|
||||
companyProfiles={companyProfiles}
|
||||
companyType={companyType}
|
||||
onCreateProfile={createProfileAndSwitch}
|
||||
onCreateProfile={createProfile}
|
||||
>
|
||||
<OnboardingGate />
|
||||
</AppLayout>
|
||||
|
||||
Reference in New Issue
Block a user