Skip to content

Commit

Permalink
fix: Prevent browser tab title from being set to "New Remix App" (#708)
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Hopper-Lowe <[email protected]>
  • Loading branch information
ryanhopperlowe authored Nov 27, 2024
1 parent c9205ed commit 79fb5b5
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions ui/admin/app/routes/_index.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
import { type MetaFunction, redirect, useLoaderData } from "@remix-run/react";
import { redirect, useLoaderData } from "@remix-run/react";
import { $path } from "remix-routes";

export const meta: MetaFunction = () => {
return [
{ title: "New Remix App" },
{ name: "description", content: "Welcome to Remix!" },
];
};

export const clientLoader = async () => {
throw redirect($path("/agents"));
};
Expand Down

0 comments on commit 79fb5b5

Please sign in to comment.