Skip to content

Commit

Permalink
feat: Remove special case for new project card
Browse files Browse the repository at this point in the history
  • Loading branch information
fabryscript committed Feb 8, 2024
1 parent cd0c95f commit 0013a42
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/renderer/components/ProjectCard.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
import { AiOutlinePlayCircle } from 'react-icons/ai';
import { FiSettings } from 'react-icons/fi';
import { ProjectFile } from '../types';
import { INTERNAL_TOPA3_NEW_PROJECT_CARD } from '../utils/consts';
import UploadBox from './UploadBox';

function ProjectCard({ project }: { project: ProjectFile }) {
if (project.name === INTERNAL_TOPA3_NEW_PROJECT_CARD) {
return <UploadBox />;
}
return (
<div
key={project.name}
Expand Down

0 comments on commit 0013a42

Please sign in to comment.