Restructure
This commit is contained in:
parent
8c0f3b2304
commit
c6c3caec39
7 changed files with 6 additions and 13 deletions
|
@ -7,7 +7,7 @@ import DialogContent from '@mui/material/DialogContent';
|
||||||
import DialogContentText from '@mui/material/DialogContentText';
|
import DialogContentText from '@mui/material/DialogContentText';
|
||||||
import DialogTitle from '@mui/material/DialogTitle';
|
import DialogTitle from '@mui/material/DialogTitle';
|
||||||
import {useState} from "react";
|
import {useState} from "react";
|
||||||
import Subscription from "./Subscription";
|
import Subscription from "../app/Subscription";
|
||||||
|
|
||||||
const defaultBaseUrl = "https://ntfy.sh"
|
const defaultBaseUrl = "https://ntfy.sh"
|
||||||
|
|
|
@ -3,8 +3,7 @@ import {useState} from 'react';
|
||||||
import Container from '@mui/material/Container';
|
import Container from '@mui/material/Container';
|
||||||
import Typography from '@mui/material/Typography';
|
import Typography from '@mui/material/Typography';
|
||||||
import Box from '@mui/material/Box';
|
import Box from '@mui/material/Box';
|
||||||
import Link from '@mui/material/Link';
|
import WsConnection from '../app/WsConnection';
|
||||||
import WsConnection from './WsConnection';
|
|
||||||
import {styled, ThemeProvider} from '@mui/material/styles';
|
import {styled, ThemeProvider} from '@mui/material/styles';
|
||||||
import CssBaseline from '@mui/material/CssBaseline';
|
import CssBaseline from '@mui/material/CssBaseline';
|
||||||
import MuiDrawer from '@mui/material/Drawer';
|
import MuiDrawer from '@mui/material/Drawer';
|
||||||
|
@ -25,7 +24,7 @@ import ListItemButton from "@mui/material/ListItemButton";
|
||||||
import SettingsIcon from "@mui/icons-material/Settings";
|
import SettingsIcon from "@mui/icons-material/Settings";
|
||||||
import AddIcon from "@mui/icons-material/Add";
|
import AddIcon from "@mui/icons-material/Add";
|
||||||
import Card from "@mui/material/Card";
|
import Card from "@mui/material/Card";
|
||||||
import {Button, CardActions, CardContent, Stack} from "@mui/material";
|
import {CardContent, Stack} from "@mui/material";
|
||||||
import AddDialog from "./AddDialog";
|
import AddDialog from "./AddDialog";
|
||||||
import theme from "./theme";
|
import theme from "./theme";
|
||||||
|
|
|
@ -1,14 +1,8 @@
|
||||||
import * as React from 'react';
|
import * as React from 'react';
|
||||||
import ReactDOM from 'react-dom';
|
import ReactDOM from 'react-dom';
|
||||||
import CssBaseline from '@mui/material/CssBaseline';
|
import App from './components/App';
|
||||||
import { ThemeProvider } from '@mui/material/styles';
|
|
||||||
import App from './App';
|
|
||||||
import theme from './theme';
|
|
||||||
|
|
||||||
ReactDOM.render(
|
ReactDOM.render(
|
||||||
<ThemeProvider theme={theme}>
|
<App />,
|
||||||
<CssBaseline />
|
document.querySelector('#root')
|
||||||
<App />
|
|
||||||
</ThemeProvider>,
|
|
||||||
document.querySelector('#root'),
|
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue