@@ -335,7 +335,6 @@ test.describe("Client Data", () => {
335335 } ) ,
336336 "app/routes/parent.child.tsx" : js `
337337 import * as React from 'react';
338- import { json } from "react-router"
339338 import { Await, useLoaderData } from "react-router"
340339 export function loader() {
341340 return {
@@ -685,7 +684,6 @@ test.describe("Client Data", () => {
685684 } ) ,
686685 "app/routes/parent.child.tsx" : js `
687686 import * as React from 'react';
688- import { json } from "react-router";
689687 import { useLoaderData, useRevalidator } from "react-router";
690688 let isFirstCall = true;
691689 export async function loader({ serverLoader }) {
@@ -763,7 +761,7 @@ test.describe("Client Data", () => {
763761 childClientLoaderHydrate : false ,
764762 } ) ,
765763 "app/routes/parent.child.tsx" : js `
766- import { ClientLoaderFunctionArgs, useRouteError } from "react-router";
764+ import { useRouteError } from "react-router";
767765
768766 export function loader() {
769767 throw new Error("Broken!")
@@ -1286,7 +1284,6 @@ test.describe("Client Data", () => {
12861284 } ) ,
12871285 "app/routes/parent.child.tsx" : js `
12881286 import * as React from 'react';
1289- import { json } from "react-router";
12901287 import { Form, useRouteError } from "react-router";
12911288 export async function clientAction({ serverAction }) {
12921289 return await serverAction();
@@ -1508,7 +1505,6 @@ test.describe("Client Data", () => {
15081505 } ) ,
15091506 "app/routes/parent.child.tsx" : js `
15101507 import * as React from 'react';
1511- import { json } from "react-router";
15121508 import { Form, useRouteError } from "react-router";
15131509 export async function clientAction({ serverAction }) {
15141510 return await serverAction();
0 commit comments