refactor: 🚨 satisfy the linter

This commit is contained in:
Josh Corbett 2024-03-05 19:13:34 -07:00 committed by psychedelicious
parent cab3748010
commit 549d461107

View File

@ -51,11 +51,11 @@ const ClearStagingIntermediatesIconButton = () => {
const { t } = useTranslation(); const { t } = useTranslation();
const handleDiscardStagingArea = useCallback(() => { const handleDiscardStagingArea = useCallback(() => {
dispatch(discardStagedImages()) dispatch(discardStagedImages());
}, [dispatch]); }, [dispatch]);
const handleDiscardStagingImage = useCallback(() => { const handleDiscardStagingImage = useCallback(() => {
dispatch(discardStagedImage()) dispatch(discardStagedImage());
}, [dispatch]); }, [dispatch]);
return ( return (
@ -77,8 +77,8 @@ const ClearStagingIntermediatesIconButton = () => {
fontSize={16} fontSize={16}
/> />
</> </>
) );
} };
const IAICanvasStagingAreaToolbar = () => { const IAICanvasStagingAreaToolbar = () => {
const dispatch = useAppDispatch(); const dispatch = useAppDispatch();