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 552fe4b commit 1e83468Copy full SHA for 1e83468
examples/react/suspense/src/components/Project.tsx
@@ -22,13 +22,11 @@ export default function Project({
22
<h1>
23
{activeProject} {isFetching ? <Spinner /> : null}
24
</h1>
25
- {data ? (
26
- <div>
27
- <p>forks: {data.forks_count}</p>
28
- <p>stars: {data.stargazers_count}</p>
29
- <p>watchers: {data.watchers_count}</p>
30
- </div>
31
- ) : null}
+ <div>
+ <p>forks: {data.forks_count}</p>
+ <p>stars: {data.stargazers_count}</p>
+ <p>watchers: {data.watchers_count}</p>
+ </div>
32
<br />
33
34
</div>
0 commit comments