Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion src/organisms/dashboard/project-card/index.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { useNavigate } from "react-router-dom";
import {
Button,
Card,
Expand All @@ -8,8 +9,13 @@ import {
CardTitle,
Label,
} from "../../../atoms";
import { useCallback } from "react";

function ProjectCard() {
const navigate = useNavigate();

const handleViewAll = useCallback(() => {}, []);

return (
<Card className="w-full">
<CardHeader>
Expand All @@ -33,7 +39,7 @@ function ProjectCard() {
</form>
</CardContent>
<CardFooter className="flex justify-between">
<Button>View All</Button>
<Button onClick={handleViewAll}>View All</Button>
</CardFooter>
</Card>
);
Expand Down