[Work in progress] A Reactjs-based web app to help with ricing: designing beautiful unix desktop environments.
git clone https://mcol.xyz/code/unix.sexy
Log | Files | Refs

commit 4410839814973bf7ff88962d5fab6ccfc5c324a1
parent 8b70d04a8402e7d74bedb5df834fafa139eeb405
Author: mcol <mcol@posteo.net>
Date:   Fri, 10 Jul 2020 11:29:21 +0100

remove unnecessary imports from window index.js

Diffstat:
Msrc/features/windows/panel.js | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/features/windows/panel.js b/src/features/windows/panel.js @@ -1,5 +1,5 @@ import React from 'react'; -import { useDispatch, useSelector } from 'react-redux'; +import { useSelector } from 'react-redux'; import Button from 'components/button'; import OptBox from 'components/optbox'; @@ -11,7 +11,6 @@ import { addWindow, delWindow } from './slice'; export function WindowCtl() { const titleBars = useSelector(selectTitleBars); - const dispatch = useDispatch(); return ( <OptBox className="WindowCtl" label="Settings" width="220px">