forked from extern/easydiffusion
remove space
This commit is contained in:
parent
b99cd49091
commit
bea8ae55de
@ -1,17 +1,15 @@
|
||||
import React, { useState } from "react";
|
||||
import { ReactLocation, Router } from "@tanstack/react-location";
|
||||
|
||||
import Home from "./pages/Home";
|
||||
import Settings from "./pages/Settings";
|
||||
// @ts-ignore
|
||||
import { darkTheme, lightTheme } from "./styles/theme/index.css.ts";
|
||||
|
||||
import './Translation/config';
|
||||
|
||||
const location = new ReactLocation();
|
||||
|
||||
function App() {
|
||||
// just check for the theme one 1 time
|
||||
|
||||
// var { matches } = window.matchMedia('(prefers-color-scheme: dark)')
|
||||
const matches = true;
|
||||
const themeClass = matches ? darkTheme : lightTheme;
|
||||
|
Loading…
Reference in New Issue
Block a user