Skip to content

Commit

Permalink
chore(ui): lint
Browse files Browse the repository at this point in the history
  • Loading branch information
psychedelicious committed Oct 31, 2024
1 parent 4d0d8fc commit 5c58e6e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion invokeai/frontend/web/src/app/store/nanostores/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { atom } from 'nanostores';
* A fallback non-writable atom that always returns `false`, used when a nanostores atom is only conditionally available
* in a hook or component.
*/
export const $false: ReadableAtom<boolean> = atom(false);
// export const $false: ReadableAtom<boolean> = atom(false);
/**
* A fallback non-writable atom that always returns `true`, used when a nanostores atom is only conditionally available
* in a hook or component.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -323,13 +323,10 @@ export const selectSelectedEntityFill = createSelector(
}
);

export const selectRasterLayersIsHidden = createSelector(selectCanvasSlice, (canvas) => canvas.rasterLayers.isHidden);
export const selectControlLayersIsHidden = createSelector(selectCanvasSlice, (canvas) => canvas.controlLayers.isHidden);
export const selectInpaintMasksIsHidden = createSelector(selectCanvasSlice, (canvas) => canvas.inpaintMasks.isHidden);
export const selectRegionalGuidanceIsHidden = createSelector(
selectCanvasSlice,
(canvas) => canvas.regionalGuidance.isHidden
);
const selectRasterLayersIsHidden = createSelector(selectCanvasSlice, (canvas) => canvas.rasterLayers.isHidden);
const selectControlLayersIsHidden = createSelector(selectCanvasSlice, (canvas) => canvas.controlLayers.isHidden);
const selectInpaintMasksIsHidden = createSelector(selectCanvasSlice, (canvas) => canvas.inpaintMasks.isHidden);
const selectRegionalGuidanceIsHidden = createSelector(selectCanvasSlice, (canvas) => canvas.regionalGuidance.isHidden);

/**
* Returns the hidden selector for the given entity type.
Expand Down

0 comments on commit 5c58e6e

Please sign in to comment.