Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fix] 채팅 관련 API V2 연결 #170

Merged
merged 19 commits into from
Jan 15, 2025
Merged
Changes from 2 commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
9103730
fix(#169): 채팅 api v2 연결
HelloWorldDogs223 Jan 5, 2025
57b8cab
fix(#169) type 지정
HelloWorldDogs223 Jan 7, 2025
36d3761
feat(#164): CategoryToggle 컴포넌트 제작
yyypearl Jan 9, 2025
14cd37a
feat(#164): 겜구 약관 및 개인정보 보호 페이지 제작, 경로 설정
yyypearl Jan 9, 2025
6c3bda4
refactor(#164): /policy 하위 페이지 params를 이용해 하나의 페이지로 통합
yyypearl Jan 9, 2025
c05827b
Merge pull request #165 from Gamegoo-repo/feat/#164
HelloWorldDogs223 Jan 9, 2025
bd55833
fix(#164): useSearchParams 클라이언트 실행을 위한 Suspense 설정
yyypearl Jan 9, 2025
aa46260
Merge pull request #166 from Gamegoo-repo/feat/#164
yyypearl Jan 9, 2025
0064aeb
fix(#164): Suspense 내 children 추가
yyypearl Jan 9, 2025
f367671
Merge pull request #167 from Gamegoo-repo/feat/#164
yyypearl Jan 9, 2025
1cef6e9
fix(#169) 주소 변경
HelloWorldDogs223 Jan 12, 2025
b55a3a9
Merge branch 'develop' of https://github.com/Gamegoo-repo/Gamegoo-fro…
HelloWorldDogs223 Jan 12, 2025
326ffe9
Merge branch 'server2' of https://github.com/Gamegoo-repo/Gamegoo-fro…
HelloWorldDogs223 Jan 12, 2025
55ccc8d
fix(#169) 채팅 api2 연결
HelloWorldDogs223 Jan 12, 2025
4193cfa
fix(#169): api param 수정
HelloWorldDogs223 Jan 12, 2025
d979b27
fix(#160) base URL 수정
HelloWorldDogs223 Jan 14, 2025
33e5a69
fix(#169) 빌드 에러 해결
HelloWorldDogs223 Jan 14, 2025
7bb1cb6
fix(#160) 빌드 에러 해결2
HelloWorldDogs223 Jan 14, 2025
dc758cc
fix(#169) 진짜 빌드 해결
HelloWorldDogs223 Jan 14, 2025
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
12 changes: 10 additions & 2 deletions src/app/policy/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@ import { useRouter, usePathname, useSearchParams } from "next/navigation";
import CategoryToggle from "@/components/common/CategoryToggle";
import styled from "styled-components";
import { theme } from "@/styles/theme";
import { Suspense } from "react";
import LoadingSpinner from "@/components/common/LoadingSpinner";

const PolicyLayout = ({ children }: { children: React.ReactNode }) => {
const PolicyLayout = ({ children }: { children?: React.ReactNode }) => {
const router = useRouter();
const pathname = usePathname();
const searchParams = useSearchParams();
Expand Down Expand Up @@ -34,7 +36,13 @@ const PolicyLayout = ({ children }: { children: React.ReactNode }) => {
);
};

export default PolicyLayout;
export default function PolicyLayoutPaging() {
return (
<Suspense fallback={<LoadingSpinner />}>
<PolicyLayout />
</Suspense>
);
}

const Wrapper = styled.div`
max-width: 1440px;
Expand Down
Loading