From 2cf36f46e5bbb1e5e0a67c4efe1c92ccc65eb98c Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Wed, 24 Mar 2021 16:14:15 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=B9=20Reformat=20code?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .idea/codeStyles/codeStyleConfig.xml | 5 + src/App.js | 22 +- src/components/Box.js | 10 +- src/components/Footer.js | 10 +- src/components/SelectSkin.js | 7 +- src/components/Split.js | 18 +- src/components/Todo.js | 10 +- src/index.css | 6 +- src/index.js | 21 +- src/reportWebVitals.js | 22 +- src/routes/Error404.js | 4 +- src/routes/Fisica/index.js | 16 +- src/routes/Gestinfo/abbr/API.js | 4 +- src/routes/Gestinfo/abbr/Glob.js | 7 +- src/routes/Gestinfo/abbr/IC.js | 4 +- src/routes/Gestinfo/abbr/IDF.js | 9 +- src/routes/Gestinfo/abbr/IR.js | 4 +- src/routes/Gestinfo/abbr/Locuzione.js | 7 +- src/routes/Gestinfo/abbr/Ononimi.js | 4 +- src/routes/Gestinfo/abbr/Predicato.js | 7 +- src/routes/Gestinfo/abbr/RSV.js | 4 +- src/routes/Gestinfo/abbr/Regex.js | 4 +- src/routes/Gestinfo/abbr/TF.js | 6 +- src/routes/Gestinfo/abbr/TFIDF.js | 6 +- src/routes/Gestinfo/abbr/UIN.js | 7 +- src/routes/Gestinfo/components/Token.js | 10 +- src/routes/Gestinfo/index.js | 700 +++++++++++++++--------- src/routes/Home.js | 60 +- 28 files changed, 617 insertions(+), 377 deletions(-) create mode 100644 .idea/codeStyles/codeStyleConfig.xml diff --git a/.idea/codeStyles/codeStyleConfig.xml b/.idea/codeStyles/codeStyleConfig.xml new file mode 100644 index 0000000..a55e7a1 --- /dev/null +++ b/.idea/codeStyles/codeStyleConfig.xml @@ -0,0 +1,5 @@ + + + + \ No newline at end of file diff --git a/src/App.js b/src/App.js index daea67e..e8fb4dd 100644 --- a/src/App.js +++ b/src/App.js @@ -1,16 +1,16 @@ -import React, {useState} from "react"; -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 Footer from "./components/Footer"; +import React, { useState } from "react" +import { BaseLink, Bluelib, Main, Title } from "bluelib/lib/components" +import { Route, Switch } 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 Footer from "./components/Footer" import Fisica from "./routes/Fisica" export default function App() { - const [skin, setSkin] = useState("rygblue"); + const [skin, setSkin] = useState("rygblue") return ( @@ -29,7 +29,7 @@ export default function App() { - + @@ -37,6 +37,6 @@ export default function App() {