diff --git a/.changeset/README.md b/.changeset/README.md deleted file mode 100644 index e5b6d8d6a..000000000 --- a/.changeset/README.md +++ /dev/null @@ -1,8 +0,0 @@ -# Changesets - -Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works -with multi-package repos, or single-package repos to help you version and publish your code. You can -find the full documentation for it [in our repository](https://github.com/changesets/changesets) - -We have a quick list of common questions to get you started engaging with this project in -[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md) diff --git a/.changeset/config.json b/.changeset/config.json deleted file mode 100644 index f26daf14d..000000000 --- a/.changeset/config.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "$schema": "https://unpkg.com/@changesets/config@2.3.1/schema.json", - "changelog": "@changesets/cli/changelog", - "commit": false, - "fixed": [], - "linked": [], - "access": "public", - "baseBranch": "main", - "updateInternalDependencies": "patch", - "ignore": [] -} diff --git a/apps/webapp/src/components/dashboard/components/main-nav-sm.tsx b/apps/webapp/src/components/dashboard/components/main-nav-sm.tsx index 9f7d002a3..7a8575eaf 100644 --- a/apps/webapp/src/components/dashboard/components/main-nav-sm.tsx +++ b/apps/webapp/src/components/dashboard/components/main-nav-sm.tsx @@ -46,12 +46,12 @@ export function SmallNav({ diff --git a/apps/webapp/src/components/dashboard/components/main-nav.tsx b/apps/webapp/src/components/dashboard/components/main-nav.tsx index ce415ae91..41053f5a6 100644 --- a/apps/webapp/src/components/dashboard/components/main-nav.tsx +++ b/apps/webapp/src/components/dashboard/components/main-nav.tsx @@ -25,12 +25,12 @@ export function MainNav({ className={`flex flex-col items-start ${className}`} {...props} > - click('quickstart')} > Quick Start - + */} click('dashboard')} @@ -70,7 +70,6 @@ export function MainNav({

Docs

- {/* Add other nav items as needed */} ); } diff --git a/apps/webapp/src/components/dashboard/index.tsx b/apps/webapp/src/components/dashboard/index.tsx index 30794265c..ed7b1746b 100644 --- a/apps/webapp/src/components/dashboard/index.tsx +++ b/apps/webapp/src/components/dashboard/index.tsx @@ -28,9 +28,9 @@ export default function DashboardPage() { let ContentComponent; switch (activePage) { - case 'quickstart': + /*case 'quickstart': ContentComponent = QuickStartPage; - break; + break;*/ case 'jobs': ContentComponent = JobsPage; break; diff --git a/apps/webapp/src/components/main-component/index.tsx b/apps/webapp/src/components/main-component/index.tsx index a45d72f49..06fcfb9e4 100644 --- a/apps/webapp/src/components/main-component/index.tsx +++ b/apps/webapp/src/components/main-component/index.tsx @@ -25,12 +25,6 @@ export default function MainPage() { return (
- {/*

Dashboard

-
- - -
*/ - }

Dashboard

diff --git a/apps/webapp/src/components/shared/team-switcher.tsx b/apps/webapp/src/components/shared/team-switcher.tsx index 17d08cbc8..b340de7a1 100644 --- a/apps/webapp/src/components/shared/team-switcher.tsx +++ b/apps/webapp/src/components/shared/team-switcher.tsx @@ -77,10 +77,10 @@ export default function TeamSwitcher({ className }: TeamSwitcherProps) { useEffect(()=>{ - if(projects){ + if(projects && projects[0]){ setIdProject(projects[0].id_project); } - if(orgs){ + if(orgs && orgs[0]){ setOrganisationName(orgs[0].name); setIdOrg(orgs[0].id_organization); } @@ -177,9 +177,9 @@ export default function TeamSwitcher({ className }: TeamSwitcherProps) { {!isloadingOrganisations && orgs && orgs.length > 0 ? { - setIdOrg(orgs[0].id_organization) + setIdOrg(orgs[0] ? orgs[0].id_organization : "") setOpen(false) }} className="text-sm" @@ -196,7 +196,7 @@ export default function TeamSwitcher({ className }: TeamSwitcherProps) { 0 && idOrg === orgs[0].id_organization + orgs && orgs.length > 0 && orgs[0] && idOrg === orgs[0].id_organization ? "opacity-100" : "opacity-0" )}