import {useState} from "react" import classNames from "classnames" import Style from "./App.module.css" import Layout from "./components/Layout" import ContextTheme from "./contexts/ContextTheme" import { BrowserRouter } from "react-router-dom" import { Route, Switch } from "react-router" import PageHome from "./routes/PageHome" import PageRepositories from "./routes/PageRepositories" import PageAlerts from "./routes/PageAlerts" import PageSettings from "./routes/PageSettings" import PageSandbox from "./routes/PageSandbox" import useSavedTheme from "./hooks/useSavedTheme" export default function App() { const [theme, setAndSaveTheme] = useSavedTheme(); return (
) }