Skip to content

Commit 3f9cc84

Browse files
authored
docs(pending-ui): optimistic ui type mismatch fix (#13095)
1 parent 5aab2a6 commit 3f9cc84

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

contributors.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -354,3 +354,4 @@
354354
- yuleicul
355355
- zeromask1337
356356
- zheng-chuang
357+
- liborgabrhel

docs/start/framework/pending-ui.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ function Task({ task }) {
111111

112112
let isComplete = task.status === "complete";
113113
if (fetcher.formData) {
114-
isComplete = fetcher.formData.get("status");
114+
isComplete = fetcher.formData.get("status") === "complete";
115115
}
116116

117117
return (

0 commit comments

Comments
 (0)