From c46969c0d99eb083bf90c95b349f0963bfd59020 Mon Sep 17 00:00:00 2001 From: hae-on Date: Fri, 6 Oct 2023 16:44:34 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20=EC=95=84=ED=8B=B0=ED=81=B4=20?= =?UTF-8?q?=EA=B8=80=EC=93=B0=EA=B8=B0=20=EA=B6=8C=ED=95=9C=20=EB=B3=80?= =?UTF-8?q?=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/pages/ArticleListPage/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/pages/ArticleListPage/index.tsx b/frontend/src/pages/ArticleListPage/index.tsx index 7efff3ba7..63093f9d0 100644 --- a/frontend/src/pages/ArticleListPage/index.tsx +++ b/frontend/src/pages/ArticleListPage/index.tsx @@ -32,7 +32,7 @@ const ArticleListPage = () => { const { user } = useContext(UserContext); const { isLoggedIn, role } = user; - const authorized = role === 'CREW' && isLoggedIn; + const authorized = isLoggedIn && role !== 'GUEST'; const { data: filteredArticles = [], refetch: getFilteredArticles } = useGetFilteredArticleQuery( selectedCourse.value,