We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2699906 commit 8f728a1Copy full SHA for 8f728a1
1 file changed
src/pages/Post/index.tsx
@@ -95,14 +95,11 @@ const Post: React.FC = () => {
95
};
96
97
useEffect(() => {
98
- setTimeout(() => {
99
- setIsLoading(false);
100
- }, 1000);
101
-
102
// 현재 게시글이 내 게시글인지 확인
103
if (user?.id && postId) {
104
setIsMyPost(currentUserId === user.id);
105
}
+ setIsLoading(false);
106
}, [user, postId]);
107
108
0 commit comments