diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6c16ecb..111a564 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -28,5 +28,5 @@ jobs: - name: 🔨 Build application uses: samuelmeuli/action-electron-builder@v1 with: - github_token: ${{ secrets.github_token }} + github_token: ${{ secrets.GITHUB_TOKEN }} release: ${{ startsWith(github.ref, 'refs/tags/v') }} diff --git a/src/App.tsx b/src/App.tsx index 3c44b11..d9d947d 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,7 +1,7 @@ import React from 'react'; import { HashRouter as Router, Routes, Route } from 'react-router-dom'; import { Dashboard } from './pages'; -import { styled, useTheme } from '@mui/material/styles'; +import { styled } from '@mui/material/styles'; import { Footer } from './components'; import Toolbar from '@mui/material/Toolbar'; import MuiAppBar, { AppBarProps as MuiAppBarProps } from '@mui/material/AppBar'; @@ -42,7 +42,6 @@ const AppBar = styled(MuiAppBar, { })); const App = () => { - const theme = useTheme(); return (
diff --git a/src/components/Footer.tsx b/src/components/Footer.tsx index 5769c29..7843a90 100644 --- a/src/components/Footer.tsx +++ b/src/components/Footer.tsx @@ -1,17 +1,10 @@ import React from 'react'; -import { - createSvgIcon, - Grid, - IconButton, - Typography, - useTheme, -} from '@mui/material'; +import { createSvgIcon, Grid, IconButton, Typography } from '@mui/material'; import FavoriteIcon from '@mui/icons-material/Favorite'; import EmailIcon from '@mui/icons-material/Email'; import GitHubIcon from '@mui/icons-material/GitHub'; const Footer = () => { - const theme = useTheme(); const DiscordIcon = createSvgIcon( { - const theme = useTheme(); const [snackbarOpen, setSnackbarOpen] = useState(false); const [snackbarType, setSnackbarType] = useState('success'); const [snackbarMessage, setSnackbarMessage] = useState('');