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