Skip to content

Commit 16b7c09

Browse files
committed
fix: remove unused variable from command execution logic in Dock component
1 parent 5609723 commit 16b7c09

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

frontend/src/controls/Dock.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ const Dock = (): React.ReactElement => {
6161

6262
const body = React.useMemo(() => {
6363
const dockStatusIsRelevant = mopDockCleanTriggerSupported || mopDockDryTriggerSupported;
64-
const commandIsExecuting = emptyIsExecuting || mopDockCleanCommandExecuting || mopDockDryCommandExecuting;
64+
const commandIsExecuting = mopDockCleanCommandExecuting || mopDockDryCommandExecuting;
6565
const mopAttachmentAttached = attachments?.find(a => {
6666
return a.type === "mop";
6767
})?.attached === true;
@@ -144,7 +144,6 @@ const Dock = (): React.ReactElement => {
144144
attachments,
145145
dockState,
146146
dockStatus,
147-
emptyIsExecuting,
148147
isPending,
149148
mopDockCleanCommandExecuting,
150149
mopDockCleanTriggerSupported,

0 commit comments

Comments
 (0)