diff --git a/.eslintrc.cjs b/.eslintrc.cjs index 8f06d369..2863aacd 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -216,7 +216,7 @@ module.exports = { "no-trailing-spaces": "error", "no-whitespace-before-property": "error", "object-curly-newline": [ - "error", + "warn", { multiline: true, }, diff --git a/src/App.tsx b/src/App.tsx index 32874044..fd4a097c 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -2,7 +2,7 @@ import Footer from "./components/Footer"; import PrimaryNav from "./components/PrimaryNav"; import RepoListWrap from "./components/RepoListWrap"; import { initiatePostHog } from "./lib/analytics"; -import { BrowserRouter, Route, Routes } from "react-router-dom"; +import { BrowserRouter } from "react-router-dom"; import { Toaster } from "react-hot-toast"; import { SWRConfig } from "swr"; import GradBackground from "./components/GradBackground"; @@ -10,9 +10,6 @@ import Hero from "./components/Hero"; import apiFetcher from "./hooks/useSWR"; import getAppVersion from "./lib/appVersion"; -import RecentRepoListWrap from "./components/RecentRepoListWrap"; -import SecondaryNav from "./components/SecondaryNav"; -import HotRepositories from "./components/HotRepositories"; console.log( `%c @@ -47,26 +44,7 @@ const App = (): JSX.Element => {
Repository
- {userAndTokens.user.user_metadata.full_name} -
+{userAndTokens.user.user_metadata.full_name}
-- {userAndTokens.user.user_metadata.user_name} -
+{userAndTokens.user.user_metadata.user_name}