File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed
examples/solid/start-basic-cloudflare/src Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ export function DefaultCatchBoundary({ error }: ErrorComponentProps) {
2828 >
2929 Try Again
3030 </ button >
31- { isRoot ? (
31+ { isRoot ( ) ? (
3232 < Link
3333 to = "/"
3434 class = { `px-2 py-1 bg-gray-600 dark:bg-gray-700 rounded text-white uppercase font-extrabold` }
Original file line number Diff line number Diff line change @@ -20,8 +20,8 @@ function Home() {
2020 return (
2121 < div class = "p-2" >
2222 < h3 > Welcome Home!!!</ h3 >
23- < p > { data . message } </ p >
24- < p > { data . myVar } </ p >
23+ < p > { data ( ) . message } </ p >
24+ < p > { data ( ) . myVar } </ p >
2525 </ div >
2626 )
2727}
Original file line number Diff line number Diff line change @@ -19,8 +19,8 @@ function PostDeepComponent() {
1919 < Link to = "/posts" class = "block py-1 text-blue-800 hover:text-blue-600" >
2020 ← All Posts
2121 </ Link >
22- < h4 class = "text-xl font-bold underline" > { post . title } </ h4 >
23- < div class = "text-sm" > { post . body } </ div >
22+ < h4 class = "text-xl font-bold underline" > { post ( ) . title } </ h4 >
23+ < div class = "text-sm" > { post ( ) . body } </ div >
2424 </ div >
2525 )
2626}
Original file line number Diff line number Diff line change @@ -30,11 +30,11 @@ function UserComponent() {
3030
3131 return (
3232 < div class = "space-y-2" >
33- < h4 class = "text-xl font-bold underline" > { user . name } </ h4 >
34- < div class = "text-sm" > { user . email } </ div >
33+ < h4 class = "text-xl font-bold underline" > { user ( ) . name } </ h4 >
34+ < div class = "text-sm" > { user ( ) . email } </ div >
3535 < div >
3636 < a
37- href = { `/api/users/${ user . id } ` }
37+ href = { `/api/users/${ user ( ) . id } ` }
3838 class = "text-blue-800 hover:text-blue-600 underline"
3939 >
4040 View as JSON
You can’t perform that action at this time.
0 commit comments