Skip to content

Commit da2d455

Browse files
committed
More type fixes
1 parent 44dc552 commit da2d455

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

examples/react/start-basic-cloudflare/src/routes/posts.$postId.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ function PostComponent() {
2222
<Link
2323
to="/posts/$postId/deep"
2424
params={{
25-
postId: post.id,
25+
postId: String(post.id),
2626
}}
2727
activeProps={{ className: 'text-black font-bold' }}
2828
className="inline-block py-1 text-blue-800 hover:text-blue-600"

examples/react/start-basic-cloudflare/src/routes/posts.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ function PostsComponent() {
1919
<Link
2020
to="/posts/$postId"
2121
params={{
22-
postId: post.id,
22+
postId: String(post.id),
2323
}}
2424
className="block py-1 text-blue-800 hover:text-blue-600"
2525
activeProps={{ className: 'text-black font-bold' }}

examples/react/start-basic/src/routes/posts.$postId.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ function PostComponent() {
2222
<Link
2323
to="/posts/$postId/deep"
2424
params={{
25-
postId: post.id,
25+
postId: String(post.id),
2626
}}
2727
activeProps={{ className: 'text-black font-bold' }}
2828
className="inline-block py-1 text-blue-800 hover:text-blue-600"

examples/react/start-basic/src/routes/posts.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ function PostsComponent() {
1919
<Link
2020
to="/posts/$postId"
2121
params={{
22-
postId: post.id,
22+
postId: String(post.id),
2323
}}
2424
className="block py-1 text-blue-800 hover:text-blue-600"
2525
activeProps={{ className: 'text-black font-bold' }}

0 commit comments

Comments
 (0)