From 3e77864d2e53c0d4b27c334df85f56709c27ef96 Mon Sep 17 00:00:00 2001 From: nalpari Date: Fri, 2 May 2025 13:55:21 +0900 Subject: [PATCH] refactor: update ZipCodePopup to simplify state management by removing unnecessary parameter in setZipCodePopup function --- src/app/layout.tsx | 1 - src/components/popup/ZipCodePopup.tsx | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 97f33a6..8d8a263 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -2,7 +2,6 @@ import type { Metadata } from 'next' import ReactQueryProviders from '@/providers/ReactQueryProvider' import PopupController from '@/components/ui/PopupController' import '@/styles/style.scss' -import { headers } from 'next/headers' import type { ReactNode } from 'react' export const metadata: Metadata = { diff --git a/src/components/popup/ZipCodePopup.tsx b/src/components/popup/ZipCodePopup.tsx index 180d8a2..45dd486 100644 --- a/src/components/popup/ZipCodePopup.tsx +++ b/src/components/popup/ZipCodePopup.tsx @@ -26,7 +26,7 @@ export default function ZipCodePopup() {
住所検索
- +