From 7489efdd6f3a1641edd02e4080733eb6908792b9 Mon Sep 17 00:00:00 2001 From: se0jinYoon Date: Wed, 9 Oct 2024 23:06:53 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20meta=ED=83=9C=EA=B7=B8=20=EC=9D=B4?= =?UTF-8?q?=EB=AF=B8=EC=A7=80=20=EC=88=98=EC=A0=95,=20=ED=8E=98=EC=9D=B4?= =?UTF-8?q?=EC=A7=80=20=EC=9D=B4=ED=83=88=20=EB=AA=A8=EB=8B=AC=20=EA=B4=80?= =?UTF-8?q?=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 2 +- src/App.tsx | 1 - src/pages/admin/components/RenderAdminContent.tsx | 7 ++++++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index da37b5b5..e22abb5d 100644 --- a/index.html +++ b/index.html @@ -9,7 +9,7 @@ property="og:description" content="오직 글쓰기 모임을 위한 블로그, 마일에서 모임원들과 함께 글을 쓰며 여러분 만의 공간을 만들어보세요" /> - + diff --git a/src/App.tsx b/src/App.tsx index 5bb95d8a..01ed04c2 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -2,7 +2,6 @@ import styled from '@emotion/styled'; import { QueryClient, QueryClientProvider } from '@tanstack/react-query'; import { ReactQueryDevtools } from '@tanstack/react-query-devtools'; import router from './routers/Router'; -// import mileLinkImg from '../src/assets/images/mileLinkImg.png'; import { RouterProvider } from 'react-router-dom'; import { Suspense } from 'react'; import Loading from './pages/loading/Loading'; diff --git a/src/pages/admin/components/RenderAdminContent.tsx b/src/pages/admin/components/RenderAdminContent.tsx index 273867ae..1c478abb 100644 --- a/src/pages/admin/components/RenderAdminContent.tsx +++ b/src/pages/admin/components/RenderAdminContent.tsx @@ -45,6 +45,11 @@ const RenderAdminContent = ({ admin }: { admin: 'topic' | 'member' | 'groupInfo' const { mutate: deleteGroup, isPending, isError } = useDeleteGroup(groupId || ''); + const handleDeleteGroup = () => { + deleteGroup(); + setIgnoreBlocker(true); + }; + if (isError) { return ; } @@ -110,7 +115,7 @@ const RenderAdminContent = ({ admin }: { admin: 'topic' | 'member' | 'groupInfo' >