@@ -335,7 +335,6 @@ test.describe("Client Data", () => {
335
335
} ) ,
336
336
"app/routes/parent.child.tsx" : js `
337
337
import * as React from 'react';
338
- import { json } from "react-router"
339
338
import { Await, useLoaderData } from "react-router"
340
339
export function loader() {
341
340
return {
@@ -685,7 +684,6 @@ test.describe("Client Data", () => {
685
684
} ) ,
686
685
"app/routes/parent.child.tsx" : js `
687
686
import * as React from 'react';
688
- import { json } from "react-router";
689
687
import { useLoaderData, useRevalidator } from "react-router";
690
688
let isFirstCall = true;
691
689
export async function loader({ serverLoader }) {
@@ -763,7 +761,7 @@ test.describe("Client Data", () => {
763
761
childClientLoaderHydrate : false ,
764
762
} ) ,
765
763
"app/routes/parent.child.tsx" : js `
766
- import { ClientLoaderFunctionArgs, useRouteError } from "react-router";
764
+ import { useRouteError } from "react-router";
767
765
768
766
export function loader() {
769
767
throw new Error("Broken!")
@@ -1286,7 +1284,6 @@ test.describe("Client Data", () => {
1286
1284
} ) ,
1287
1285
"app/routes/parent.child.tsx" : js `
1288
1286
import * as React from 'react';
1289
- import { json } from "react-router";
1290
1287
import { Form, useRouteError } from "react-router";
1291
1288
export async function clientAction({ serverAction }) {
1292
1289
return await serverAction();
@@ -1508,7 +1505,6 @@ test.describe("Client Data", () => {
1508
1505
} ) ,
1509
1506
"app/routes/parent.child.tsx" : js `
1510
1507
import * as React from 'react';
1511
- import { json } from "react-router";
1512
1508
import { Form, useRouteError } from "react-router";
1513
1509
export async function clientAction({ serverAction }) {
1514
1510
return await serverAction();
0 commit comments