From cdd504a72868a1832668d08079aae1cfe75f8fa9 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Wed, 24 Mar 2021 16:04:52 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=B9=20Remove=20unused=20MainTitle=20co?= =?UTF-8?q?mponent?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.js | 6 ++---- src/components/MainTitle.js | 17 ----------------- 2 files changed, 2 insertions(+), 21 deletions(-) delete mode 100644 src/components/MainTitle.js diff --git a/src/App.js b/src/App.js index 18a26ce..daea67e 100644 --- a/src/App.js +++ b/src/App.js @@ -1,23 +1,21 @@ import React, {useState} from "react"; -import {Bluelib, Main} from "bluelib/lib/components"; +import {BaseLink, Bluelib, Main, Title} from "bluelib/lib/components" import {Switch, Route} from "react-router-dom"; import Home from "./routes/Home"; import Error404 from "./routes/Error404"; import Gestinfo from "./routes/Gestinfo"; import style from "./App.module.css"; -import MainTitle from "./components/MainTitle"; import Footer from "./components/Footer"; import Fisica from "./routes/Fisica" export default function App() { const [skin, setSkin] = useState("rygblue"); - const [subtitle, setSubtitle] = useState(null); return ( - + <BaseLink href={"/"}>Unisteffo</BaseLink>
diff --git a/src/components/MainTitle.js b/src/components/MainTitle.js deleted file mode 100644 index 1ab8dff..0000000 --- a/src/components/MainTitle.js +++ /dev/null @@ -1,17 +0,0 @@ -import React from "react"; -import {BaseLink, Title} from "bluelib/lib/components"; -import PropTypes from "prop-types"; - - -export default function MainTitle() { - return ( -
- <BaseLink href={"/"}>Unisteffo</BaseLink> -
- ) -} - - -MainTitle.propTypes = { - subtitle: PropTypes.node -}