diff --git a/refine-remix/plugins/antd-example/app/routes/_layout._index.tsx b/refine-remix/plugins/antd-example/app/routes/_layout._index.tsx deleted file mode 100644 index 17b8c49d..00000000 --- a/refine-remix/plugins/antd-example/app/routes/_layout._index.tsx +++ /dev/null @@ -1,10 +0,0 @@ -import { NavigateToResource } from "@refinedev/remix-router"; - -/** - * Since we don't have any routes for the index page, we're redirecting the user to the first resource. - * - * This can also be done using the `loader` function and `redirect`. - */ -export default function Index() { - return ; -} diff --git a/refine-remix/plugins/antd-example/app/routes/_layout.blog-posts.show.$id.tsx b/refine-remix/plugins/antd-example/app/routes/_layout.blog-posts.show.$id.tsx index 3c03f495..32502d8f 100644 --- a/refine-remix/plugins/antd-example/app/routes/_layout.blog-posts.show.$id.tsx +++ b/refine-remix/plugins/antd-example/app/routes/_layout.blog-posts.show.$id.tsx @@ -46,6 +46,7 @@ export default function BlogPostShow() { queryOptions: { enabled: !!record, }, + }); <%_ } _%> return ( diff --git a/refine-remix/plugins/headless-example/app/routes/_layout._index.tsx b/refine-remix/plugins/headless-example/app/routes/_layout._index.tsx deleted file mode 100644 index 17b8c49d..00000000 --- a/refine-remix/plugins/headless-example/app/routes/_layout._index.tsx +++ /dev/null @@ -1,10 +0,0 @@ -import { NavigateToResource } from "@refinedev/remix-router"; - -/** - * Since we don't have any routes for the index page, we're redirecting the user to the first resource. - * - * This can also be done using the `loader` function and `redirect`. - */ -export default function Index() { - return ; -} diff --git a/refine-remix/plugins/mui-example/app/routes/_layout._index.tsx b/refine-remix/plugins/mui-example/app/routes/_layout._index.tsx deleted file mode 100644 index 17b8c49d..00000000 --- a/refine-remix/plugins/mui-example/app/routes/_layout._index.tsx +++ /dev/null @@ -1,10 +0,0 @@ -import { NavigateToResource } from "@refinedev/remix-router"; - -/** - * Since we don't have any routes for the index page, we're redirecting the user to the first resource. - * - * This can also be done using the `loader` function and `redirect`. - */ -export default function Index() { - return ; -} diff --git a/refine-remix/plugins/mui-example/app/routes/_layout.blog-posts.show.$id.tsx b/refine-remix/plugins/mui-example/app/routes/_layout.blog-posts.show.$id.tsx index 52f05fdf..7ec2e827 100644 --- a/refine-remix/plugins/mui-example/app/routes/_layout.blog-posts.show.$id.tsx +++ b/refine-remix/plugins/mui-example/app/routes/_layout.blog-posts.show.$id.tsx @@ -45,6 +45,7 @@ export default function BlogPostShow() { queryOptions: { enabled: !!record, }, + }); <%_ } _%> return (