From 31d08d7ede3b61479c2f706d34fdf652452ddb98 Mon Sep 17 00:00:00 2001 From: xFNighTMaRe Date: Thu, 19 Sep 2024 22:33:53 +0200 Subject: [PATCH] fix index of pages #220 --- staff/ventura-rodriguez/social-app/src/App.jsx | 3 +-- staff/ventura-rodriguez/social-app/src/pages/index.jsx | 8 ++------ 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/staff/ventura-rodriguez/social-app/src/App.jsx b/staff/ventura-rodriguez/social-app/src/App.jsx index 9e7bb403..c64d51d3 100644 --- a/staff/ventura-rodriguez/social-app/src/App.jsx +++ b/staff/ventura-rodriguez/social-app/src/App.jsx @@ -1,6 +1,5 @@ import React from "react"; -import pages from "./pages/index.jsx"; -const { Landing } = pages; +import { Landing } from "./pages"; function App() { return ( diff --git a/staff/ventura-rodriguez/social-app/src/pages/index.jsx b/staff/ventura-rodriguez/social-app/src/pages/index.jsx index 940c8852..c4a0787c 100644 --- a/staff/ventura-rodriguez/social-app/src/pages/index.jsx +++ b/staff/ventura-rodriguez/social-app/src/pages/index.jsx @@ -1,7 +1,3 @@ -import Landing from "./Landing.jsx"; +import _Landing from "./Landing.jsx"; -const index = { - Landing -} - -export default index \ No newline at end of file +export const Landing = _Landing;