Skip to content

Commit

Permalink
Feedback @bnussman-akamai
Browse files Browse the repository at this point in the history
  • Loading branch information
abailly-akamai committed Dec 10, 2024
1 parent 2d228e2 commit 83103bd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 1 addition & 2 deletions packages/manager/src/components/TanstackLinks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ const CreatedMenuItemLinkComponent = createLink(MenuItemLinkComponent);
export const TanstackLink: LinkComponent<typeof LinkComponent> = (props) => {
return (
<CreatedLinkComponent
preload="intent"
{...props}
sx={(theme) => ({
...(props.linkType === 'link' && {
Expand All @@ -68,5 +67,5 @@ export const TanstackLink: LinkComponent<typeof LinkComponent> = (props) => {
export const TanstackMenuItemLink: LinkComponent<
typeof MenuItemLinkComponent
> = (props) => {
return <CreatedMenuItemLinkComponent {...props} preload="intent" />;
return <CreatedMenuItemLinkComponent {...props} />;
};
2 changes: 2 additions & 0 deletions packages/manager/src/routes/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ export const router = createRouter({
queryClient: new QueryClient(),
},
defaultNotFoundComponent: () => <NotFound />,
defaultPreload: 'intent',
routeTree,
});

Expand Down Expand Up @@ -96,5 +97,6 @@ export const migrationRouter = createRouter({
queryClient: new QueryClient(),
},
defaultNotFoundComponent: () => <NotFound />,
defaultPreload: 'intent',
routeTree: migrationRouteTree,
});

0 comments on commit 83103bd

Please sign in to comment.