Skip to content

Commit 3226a09

Browse files
avivkellerCopilot
andauthored
Update apps/site/components/withNodeRelease.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Aviv Keller <me@aviv.sh>
1 parent 7434a2a commit 3226a09

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

apps/site/components/withNodeRelease.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,8 @@ type WithNodeReleaseProps = {
88
children: FC<{ release: NodeRelease }>;
99
};
1010

11-
// This is a React Async Server Component
12-
// Note that Hooks cannot be used in a RSC async component
13-
// Async Components do not get re-rendered at all.
11+
// This is a React Server Component
12+
// Note that Hooks cannot be used in a React Server Component
1413
const WithNodeRelease: FC<WithNodeReleaseProps> = ({
1514
status: statuses,
1615
children: Component,

0 commit comments

Comments
 (0)