Skip to content

Commit ed69b30

Browse files
authored
Merge pull request #10 from domosedov/patch-1
Update data-fetching.md
2 parents 0393a56 + 0cd1135 commit ed69b30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/examples/data-fetching.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ import { $post, postLoadedRoute } from "./model";
7676
export const PostPage = () => {
7777
const isPostLoadedRouteOpened = useStore(postLoadedRoute.$isOpened);
7878

79-
if (isPostLoadedRouteOpened) {
79+
if (!isPostLoadedRouteOpened) {
8080
return; /* Loading */
8181
}
8282

0 commit comments

Comments
 (0)