From 1a7226d9d5ecdbe172b3eb00d21abb169d2615b8 Mon Sep 17 00:00:00 2001 From: Eva Decker Date: Sat, 16 Nov 2024 19:09:29 -0500 Subject: [PATCH] Biome --- src/routes/_authenticated/_home/index.tsx | 8 ++++---- src/routes/_authenticated/_home/quests.index.tsx | 10 +++++----- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/routes/_authenticated/_home/index.tsx b/src/routes/_authenticated/_home/index.tsx index 815a8d3..1e64248 100644 --- a/src/routes/_authenticated/_home/index.tsx +++ b/src/routes/_authenticated/_home/index.tsx @@ -1,9 +1,9 @@ -import { createFileRoute } from '@tanstack/react-router' +import { createFileRoute } from "@tanstack/react-router"; -export const Route = createFileRoute('/_authenticated/_home/')({ +export const Route = createFileRoute("/_authenticated/_home/")({ component: IndexRoute, -}) +}); function IndexRoute() { - return + return; } diff --git a/src/routes/_authenticated/_home/quests.index.tsx b/src/routes/_authenticated/_home/quests.index.tsx index 5a9fd07..08028ab 100644 --- a/src/routes/_authenticated/_home/quests.index.tsx +++ b/src/routes/_authenticated/_home/quests.index.tsx @@ -1,9 +1,9 @@ -import { createFileRoute, redirect } from '@tanstack/react-router' +import { createFileRoute, redirect } from "@tanstack/react-router"; -export const Route = createFileRoute('/_authenticated/_home/quests/')({ +export const Route = createFileRoute("/_authenticated/_home/quests/")({ beforeLoad: async () => { throw redirect({ - to: '/', - }) + to: "/", + }); }, -}) +});