@@ -56,7 +56,7 @@ const AsyncRouteComponent = Component.make("AsyncRouteView")(function*() {
|
||||
</Container>
|
||||
)
|
||||
}).pipe(
|
||||
Component.withRuntime(runtime.context),
|
||||
Component.withContext(runtime.context),
|
||||
)
|
||||
|
||||
export const Route = createFileRoute("/async")({
|
||||
|
||||
@@ -55,7 +55,7 @@ const RegisterRouteComponent = Component.make("RegisterRouteView")(function*() {
|
||||
</Container>
|
||||
)
|
||||
}).pipe(
|
||||
Component.withRuntime(runtime.context),
|
||||
Component.withContext(runtime.context),
|
||||
)
|
||||
|
||||
export const Route = createFileRoute("/form")({
|
||||
|
||||
@@ -48,7 +48,7 @@ const TodoRouteComponent = Component.make("TodoRouteView")(function*() {
|
||||
</Container>
|
||||
)
|
||||
}).pipe(
|
||||
Component.withRuntime(runtime.context),
|
||||
Component.withContext(runtime.context),
|
||||
)
|
||||
|
||||
export const Route = createFileRoute("/")({
|
||||
|
||||
@@ -77,7 +77,7 @@ const QueryRouteComponent = Component.make("QueryRouteView")(function*() {
|
||||
</Container>
|
||||
)
|
||||
}).pipe(
|
||||
Component.withRuntime(runtime.context),
|
||||
Component.withContext(runtime.context),
|
||||
)
|
||||
|
||||
export const Route = createFileRoute("/query")({
|
||||
|
||||
@@ -37,7 +37,7 @@ const ResultRouteComponent = Component.make("ResultRouteView")(function*() {
|
||||
</Container>
|
||||
)
|
||||
}).pipe(
|
||||
Component.withRuntime(runtime.context),
|
||||
Component.withContext(runtime.context),
|
||||
)
|
||||
|
||||
export const Route = createFileRoute("/result")({
|
||||
|
||||
Reference in New Issue
Block a user