Skip to content

Commit

Permalink
feat(ui): set github as default page
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasfrancisco committed Nov 1, 2024
1 parent 593639b commit bb50021
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion apps/engine/src/app/app/@connections/default.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
import DefaultPage from './sources/page';
import DefaultPage from './destinations/page';

export default DefaultPage;
5 changes: 2 additions & 3 deletions apps/engine/src/app/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { api } from '@ds-project/api/rsc';
import { getMetadata } from '@/lib/metadata';
import { getShowReleasesFlag } from '@/lib/flags';

import type { ReactNode } from 'react';
import { AppLayout } from '@/modules/app-layout';
Expand All @@ -13,9 +12,9 @@ export default async function RootLayout({
connections: ReactNode;
}>) {
// const tabsSegment = useSelectedLayoutSegment('tabs');
const projects = await api.projects.getAll();
// const projects = await api.projects.getAll();
const user = await api.users.getCurrent();
const showReleases = await getShowReleasesFlag();
// const showReleases = await getShowReleasesFlag();

return <AppLayout email={user.email}>{connections}</AppLayout>;
}

0 comments on commit bb50021

Please sign in to comment.