From 4ee6166f43463518f76bd5a33730d11dc7aa96d4 Mon Sep 17 00:00:00 2001 From: Davide Date: Sun, 22 Aug 2021 00:16:45 +0200 Subject: [PATCH] Fix eslint --- src/app/desktop/DesktopRoot.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/desktop/DesktopRoot.js b/src/app/desktop/DesktopRoot.js index cb922a2f0..a89c7e323 100644 --- a/src/app/desktop/DesktopRoot.js +++ b/src/app/desktop/DesktopRoot.js @@ -1,4 +1,4 @@ -import React, { useEffect, memo, useState } from 'react'; +import React, { useEffect, memo } from 'react'; import { useDidMount } from 'rooks'; import styled from 'styled-components'; import { Switch } from 'react-router'; @@ -59,7 +59,7 @@ function DesktopRoot({ store }) { const javaPath = useSelector(state => state.settings.java.path); const java16Path = useSelector(state => state.settings.java.path16); const location = useSelector(state => state.router.location); - const modals = useSelector(state => state.modals); + // const modals = useSelector(state => state.modals); const shouldShowDiscordRPC = useSelector(state => state.settings.discordRPC); // const [contentStyle, setContentStyle] = useState({ transform: 'scale(1)' });