Skip to content

Commit

Permalink
fix: type error
Browse files Browse the repository at this point in the history
  • Loading branch information
airjp73 committed Sep 25, 2023
1 parent 14c7645 commit e4298ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/test-app/app/routes/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { MetaFunction, DataFunctionArgs, json } from "@remix-run/node";

Check warning on line 1 in apps/test-app/app/routes/index.tsx

View workflow job for this annotation

GitHub Actions / build

'MetaFunction' is defined but never used
import { useLoaderData, Link } from "@remix-run/react";
import { useLoaderData, Link, V2_MetaFunction } from "@remix-run/react";

type IndexData = {
resources: Array<{ name: string; url: string }>;
Expand Down Expand Up @@ -47,7 +47,7 @@ export let loader = (args: DataFunctionArgs) => {
};

// https://remix.run/docs/en/v1/route/meta
export let meta: MetaFunction = () => {
export let meta: V2_MetaFunction = () => {
return [
{ title: "Remix Starter" },
{
Expand Down

1 comment on commit e4298ab

@vercel
Copy link

@vercel vercel bot commented on e4298ab Sep 25, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.