diff --git a/src/components/article/CommentArea.vue b/src/components/article/CommentArea.vue
index 76f49dc..43de7d1 100644
--- a/src/components/article/CommentArea.vue
+++ b/src/components/article/CommentArea.vue
@@ -20,7 +20,7 @@ function updateList(comment) {
댓글 {{ comments.length }}
-
+
diff --git a/src/components/article/CommentList.vue b/src/components/article/CommentList.vue
index 549a779..d55a52d 100644
--- a/src/components/article/CommentList.vue
+++ b/src/components/article/CommentList.vue
@@ -1,9 +1,7 @@
diff --git a/src/stores/memberStore.js b/src/stores/memberStore.js
index 58e57a9..0280a01 100644
--- a/src/stores/memberStore.js
+++ b/src/stores/memberStore.js
@@ -9,6 +9,7 @@ export const useMemberStore = defineStore('memberStore', () => {
const accessToken = ref(localStorage.getItem('accessToken'));
const isLogin = computed(() => accessToken.value !== null);
const userId = computed(() => {
+ if (!isLogin.value) return null;
return jwtDecode(accessToken.value).userId;
});