File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
packages/react-router/tests Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -356,7 +356,9 @@ test('reproducer #4245', async () => {
356356 const data = indexRoute . useLoaderData ( )
357357 return (
358358 < div >
359- < Link to = "/foo" data-testid = "link-to-foo" > foo</ Link >
359+ < Link to = "/foo" data-testid = "link-to-foo" >
360+ foo
361+ </ Link >
360362 { data }
361363 </ div >
362364 )
@@ -366,7 +368,11 @@ test('reproducer #4245', async () => {
366368 const fooRoute = createRoute ( {
367369 getParentRoute : ( ) => rootRoute ,
368370 path : '/foo' ,
369- component : ( ) => < Link to = "/" data-testid = "link-to-index" > index</ Link > ,
371+ component : ( ) => (
372+ < Link to = "/" data-testid = "link-to-index" >
373+ index
374+ </ Link >
375+ ) ,
370376 } )
371377
372378 const routeTree = rootRoute . addChildren ( [ indexRoute , fooRoute ] )
You can’t perform that action at this time.
0 commit comments