Skip to content

Commit

Permalink
fix build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
cphelefu committed Nov 17, 2023
1 parent dbd8c58 commit d5eed61
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export function DeleteUndoButton(props: DeleteUndoButtonProps): JSX.Element {
deleteLayer(layer.layerPath);
setInUndoState(false);
}
return () => {};
return undefined;
}, [progress]);

useEffect(() => {
Expand All @@ -72,6 +72,7 @@ export function DeleteUndoButton(props: DeleteUndoButtonProps): JSX.Element {
};
}
setProgress(0);
return undefined;
}, [inUndoState]);

if (!inUndoState) {
Expand Down

0 comments on commit d5eed61

Please sign in to comment.