Skip to content

Commit 76a3c59

Browse files
ci: apply automated fixes
1 parent 4e332c1 commit 76a3c59

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

packages/react-router/tests/loaders.test.tsx

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff 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])

0 commit comments

Comments
 (0)