From 619963688b9e9b36b9eaac2cdf6e25d241c0492d Mon Sep 17 00:00:00 2001 From: Tania Gutierrez Date: Mon, 11 Mar 2024 23:38:01 -0400 Subject: [PATCH] Changed DashboardLayout name to GeneralLayout --- app/components/{dashboard-layout.tsx => general-layout.tsx} | 2 +- app/routes/dashboard.tsx | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) rename app/components/{dashboard-layout.tsx => general-layout.tsx} (99%) diff --git a/app/components/dashboard-layout.tsx b/app/components/general-layout.tsx similarity index 99% rename from app/components/dashboard-layout.tsx rename to app/components/general-layout.tsx index 5574ac3..839c8e8 100644 --- a/app/components/dashboard-layout.tsx +++ b/app/components/general-layout.tsx @@ -4,7 +4,7 @@ import lumeColorLogoPng from "~/images/lume-color-logo.png?url" import discordLogoPng from "~/images/discord-logo.png?url" import { Link } from "@remix-run/react" -export const DashboardLayout = ({ children }: React.PropsWithChildren<{}>) => { +export const GeneralLayout = ({ children }: React.PropsWithChildren<{}>) => { return (
diff --git a/app/routes/dashboard.tsx b/app/routes/dashboard.tsx index 735e4d0..84ae7dc 100644 --- a/app/routes/dashboard.tsx +++ b/app/routes/dashboard.tsx @@ -1,4 +1,4 @@ -import { DashboardLayout } from "~/components/dashboard-layout" +import { GeneralLayout } from "~/components/general-layout" export default function Dashboard() { const isLogged = true @@ -7,8 +7,8 @@ export default function Dashboard() { } return ( - +
Hello
-
+ ) }