We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f32abbe commit ab9bcffCopy full SHA for ab9bcff
fundamentals/today-i-learned/src/pages/timeline/components/PostInput.tsx
@@ -102,11 +102,11 @@ export function PostWriteSection() {
102
<Button
103
type="submit"
104
disabled={
105
- !title.trim() || !content.trim() || createPostMutation.isError
+ !title.trim() || !content.trim() || createPostMutation.isPending
106
}
107
className={submitButton}
108
>
109
- {createPostMutation.isError ? "작성중..." : "작성하기"}
+ {createPostMutation.isPending ? "작성중..." : "작성하기"}
110
</Button>
111
</div>
112
0 commit comments