Skip to content

Commit 2a19524

Browse files
fix: clean up imports and remove unnecessary fragments in projects.tsx
1 parent 693f190 commit 2a19524

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

next-env.d.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
/// <reference types="next" />
22
/// <reference types="next/image-types/global" />
3-
/// <reference types="next/navigation-types/compat/navigation" />
43

54
// NOTE: This file should not be edited
6-
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.
5+
// see https://nextjs.org/docs/pages/api-reference/config/typescript for more information.

src/pages/projects.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ import { VWCGridCard } from "@components/vwc-card";
88
import * as Dialog from "@radix-ui/react-dialog";
99
import { useState } from "react";
1010
import { AnimatePresence, motion } from "motion/react";
11-
import { getProjectData } from "../lib/project";
1211
import { Star, CircleDot, Eye, GitFork, XIcon } from "lucide-react";
1312
import { GitHubLogoIcon, GlobeIcon } from "@radix-ui/react-icons";
1413
import clsx from "clsx";
1514
import Link from "next/link";
1615
import MarkdownRenderer from "@components/markdown-renderer";
16+
import { getProjectData } from "../lib/project";
1717

1818
interface TechStackProps {
1919
techStack: string[];
@@ -38,8 +38,7 @@ interface LinkButtonsProps {
3838

3939
export const LinkButtons = ({ github_url, live_url }: LinkButtonsProps) => {
4040
return (
41-
<>
42-
<div className="tw-mb-3 tw-flex tw-items-start tw-gap-1 tw-text-black">
41+
<div className="tw-mb-3 tw-flex tw-items-start tw-gap-1 tw-text-black">
4342
<Link
4443
href={github_url}
4544
target="_blank"
@@ -65,7 +64,6 @@ export const LinkButtons = ({ github_url, live_url }: LinkButtonsProps) => {
6564
</Link>
6665
)}
6766
</div>
68-
</>
6967
);
7068
};
7169

0 commit comments

Comments
 (0)