Skip to content

Commit

Permalink
fix: 불필요한 코드 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
ssssksss committed Aug 28, 2024
1 parent bd39b5d commit 3ba6406
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions src/app/gathering/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ async function getData() {
},
);

console.log("page.tsx 파일 : ", res.status);

if (!res.ok) {
throw new Error("Failed to fetch data");
}
Expand Down
1 change: 0 additions & 1 deletion src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ export default function RootLayout({
<body
className={`${notoSansKr.className} flex h-full flex-col`}
>
{/* <body className={"flex h-full flex-col"}> */}
<HeaderContainer />
<div className="flex w-full items-center justify-center">
<div className="flex w-[60rem] flex-col items-center max-[1024px]:w-full max-[1024px]:px-[3.375rem] max-[744px]:px-6">
Expand Down
2 changes: 0 additions & 2 deletions src/components/gathering/GatheringViewerContainer.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
"use client"

import useModalState from "@/hooks/useModalState";
import useAuthStore from "@/store/authStore";
import { GatheringDetailResponseDto } from "@/types/GatheringDto";
import GatheringViewer from "./GatheringViewer";

Expand All @@ -12,7 +11,6 @@ interface IGatheringViewerContainer {
const GatheringViewerContainer = ({ data, postId }: IGatheringViewerContainer) => {

const modalState = useModalState();
const authStore = useAuthStore();

return (
<GatheringViewer
Expand Down

0 comments on commit 3ba6406

Please sign in to comment.