Skip to content

Commit

Permalink
feat: add functionality to start project
Browse files Browse the repository at this point in the history
  • Loading branch information
fabryscript committed Feb 8, 2024
1 parent 0013a42 commit cc5d3ec
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/renderer/components/ProjectCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ function ProjectCard({ project }: { project: ProjectFile }) {
<button
type="button"
className="startbutton flex-1 p-5 flex justify-center items-center"
onClick={() => {
window.electron.ipcRenderer.invoke('start-project', [project]);
}}
>
<AiOutlinePlayCircle size="30px" />
</button>
Expand Down

0 comments on commit cc5d3ec

Please sign in to comment.