"use client" import { type Table } from "@tanstack/react-table" import { Download, RotateCcw, Shield } from "lucide-react" import { Button } from "@/components/ui/button" import { Tooltip, TooltipContent, TooltipTrigger } from "@/components/ui/tooltip" import { ExtendedLoginSession } from "../validation" import { exportTableToExcel } from "@/lib/export_all" import { useTransition } from "react" import { useRouter } from "next/navigation" interface LoginSessionsTableToolbarActionsProps { table: Table } export function LoginSessionsTableToolbarActions({ table, }: LoginSessionsTableToolbarActionsProps) { const router = useRouter() const [isPending, startTransition] = useTransition() const handleRefresh = () => { startTransition(() => { router.refresh() // ✅ 서버 컴포넌트만 새로고침 (더 빠르고 부드러움) }) } return (

로그인 세션 데이터를 엑셀로 내보내기

데이터 새로고침

{/*

보안 분석 리포트 생성

*/}
) }