From 1d51b2333b26538df7087270c46fc6f89b5597b8 Mon Sep 17 00:00:00 2001 From: spiral Date: Wed, 3 Nov 2021 04:18:18 -0400 Subject: [PATCH] fix formatting in a few files (spaces vs tabs) --- src/App.js | 86 +- src/Components/Private/Edit/EditSystem.js | 276 +++--- .../Private/Edit/EditSystemPrivacy.js | 208 ++--- src/Components/Private/MemberCard.js | 842 +++++++++--------- src/Components/Private/Memberlist.js | 816 ++++++++--------- src/Components/Private/System.js | 496 +++++------ src/Pages/Home.js | 376 ++++---- src/Pages/MemberProfile.js | 78 +- src/Pages/Settings.js | 488 +++++----- src/index.js | 8 +- 10 files changed, 1837 insertions(+), 1837 deletions(-) diff --git a/src/App.js b/src/App.js index cbe79b08..66817686 100644 --- a/src/App.js +++ b/src/App.js @@ -17,51 +17,51 @@ import Navbar from './Components/Navbar.js' export default function App() { - const [isLoading, setIsLoading] = useState(false); - const [isSubmit, setIsSubmit] = useState(false); - const [isInvalid, setIsInvalid] = useState(false); + const [isLoading, setIsLoading] = useState(false); + const [isSubmit, setIsSubmit] = useState(false); + const [isInvalid, setIsInvalid] = useState(false); - const [, updateState] = useState(); - const forceUpdate = useCallback(() => updateState({}), []); + const [, updateState] = useState(); + const forceUpdate = useCallback(() => updateState({}), []); - useEffect(() => { - if (localStorage.getItem("pk-darkmode")) { - document.body.classList.add('dark-mode') - } - else { - document.body.classList.remove('dark-mode') - } - forceUpdate(); + useEffect(() => { + if (localStorage.getItem("pk-darkmode")) { + document.body.classList.add('dark-mode') + } + else { + document.body.classList.remove('dark-mode') + } + forceUpdate(); }, []); - return ( -
- - -
- - - - { !localStorage.getItem('token') || isInvalid ? : - } - - - - - - - - - - - -