Skip to content

Commit

Permalink
Rename ProjectsDashboard to HomeDashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
henrycatalinismith committed May 25, 2024
1 parent d80399e commit a7b7a29
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions webapp/src/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Cache } from '@/Cache';
import MessageAdapterFactory from '@/utils/adapters/MessageAdapterFactory';
import { ProjectCardProps } from '@/components/ProjectCard';
import ProjectsDashboard from '@/components/ProjectsDashboard';
import HomeDashboard from '@/components/HomeDashboard';
import { RepoGit } from '@/RepoGit';
import { ServerConfig } from '@/utils/serverConfig';

Expand Down Expand Up @@ -53,5 +53,5 @@ export default async function Home() {
}),
);

return <ProjectsDashboard projects={projects} />;
return <HomeDashboard projects={projects} />;
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ import { FC } from 'react';
import { Box, List, Typography } from '@mui/joy';
import ProjectCard, { ProjectCardProps } from './ProjectCard';

type ProjectsDashboardProps = {
type HomeDashboardProps = {
projects: ProjectCardProps[];
};

/**
*/
const ProjectsDashboard: FC<ProjectsDashboardProps> = ({ projects }) => {
const HomeDashboard: FC<HomeDashboardProps> = ({ projects }) => {
return (
<Box
alignItems="center"
Expand Down Expand Up @@ -45,4 +45,4 @@ const ProjectsDashboard: FC<ProjectsDashboardProps> = ({ projects }) => {
);
};

export default ProjectsDashboard;
export default HomeDashboard;

0 comments on commit a7b7a29

Please sign in to comment.