Skip to content

Commit

Permalink
Remove unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin-Kwan committed Jan 10, 2024
1 parent a68ddc5 commit 96bb97b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
12 changes: 6 additions & 6 deletions pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ export default function Home() {
});
}, []);

const particlesLoaded = useCallback(
async (container?: Container): Promise<void> => {
// console.log(container);
},
[]
);
// const particlesLoaded = useCallback(
// async (container?: Container): Promise<void> => {
// // console.log(container);
// },
// []
// );

const options: ISourceOptions = useMemo(
() => ({
Expand Down
16 changes: 8 additions & 8 deletions pages/projects.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Suspense } from 'react';
// import { Suspense } from 'react';
import Head from 'next/head';
import Layout from '../components/RootLayout';
import ProjectCard from '../components/ProjectCard';
Expand Down Expand Up @@ -45,13 +45,13 @@ const projectsWithDescriptions = [
'Arkanoid',
];

function LoadingCard() {
return (
<div className="flex items-center justify-center p-4">
<div className="animate-spin rounded-full h-32 w-32 border-t-2 border-b-2 border-blue-500" />
</div>
);
}
// function LoadingCard() {
// return (
// <div className="flex items-center justify-center p-4">
// <div className="animate-spin rounded-full h-32 w-32 border-t-2 border-b-2 border-blue-500" />
// </div>
// );
// }
interface ProjectsProps {
descriptions: { [key: string]: string };
}
Expand Down

0 comments on commit 96bb97b

Please sign in to comment.