From 969c25b56f6d29d7ffa4bc2ce04c5fb4e5846b34 Mon Sep 17 00:00:00 2001
From: dujinkim <dujin.kim@dtsolution.co.kr>
Date: Thu, 14 Aug 2025 11:54:47 +0000
Subject: (대표님) 정규벤더등록, 벤더문서관리, 벤더데이터입력, 첨부파일관리
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 components/information/information-client.tsx | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

(limited to 'components/information/information-client.tsx')

diff --git a/components/information/information-client.tsx b/components/information/information-client.tsx
index 69835599..d863175f 100644
--- a/components/information/information-client.tsx
+++ b/components/information/information-client.tsx
@@ -1,6 +1,7 @@
 "use client"
 
 import { useState, useEffect, useTransition } from "react"
+import { useRouter } from "next/navigation"
 import { Button } from "@/components/ui/button"
 import { Input } from "@/components/ui/input"
 import {
@@ -34,6 +35,7 @@ type SortField = "pageName" | "pagePath" | "createdAt"
 type SortDirection = "asc" | "desc"
 
 export function InformationClient({ initialData = [] }: InformationClientProps) {
+  const router = useRouter()
   const [informations, setInformations] = useState<PageInformation[]>(initialData)
   const [loading, setLoading] = useState(false)
   const [searchQuery, setSearchQuery] = useState("")
@@ -185,7 +187,7 @@ export function InformationClient({ initialData = [] }: InformationClientProps)
           </Button>
           <Button
             variant="outline"
-            onClick={() => window.location.reload()}
+            onClick={() => router.refresh()}
           >
             새로고침
           </Button>
-- 
cgit v1.2.3

