diff --git a/invokeai/frontend/web/src/common/hooks/useBoolean.ts b/invokeai/frontend/web/src/common/hooks/useBoolean.ts index b02513c11ec..ec68457ecdd 100644 --- a/invokeai/frontend/web/src/common/hooks/useBoolean.ts +++ b/invokeai/frontend/web/src/common/hooks/useBoolean.ts @@ -127,8 +127,6 @@ export const buildUseDisclosure = (defaultIsOpen: boolean): [() => UseDisclosure * * Hook to manage a boolean state. Use this for a local boolean state. * @param defaultIsOpen Initial state of the disclosure - * - * @knipignore */ export const useDisclosure = (defaultIsOpen: boolean): UseDisclosure => { const [isOpen, set] = useState(defaultIsOpen); diff --git a/invokeai/frontend/web/src/features/controlLayers/store/types.ts b/invokeai/frontend/web/src/features/controlLayers/store/types.ts index 9fbc0939e42..eb07216b722 100644 --- a/invokeai/frontend/web/src/features/controlLayers/store/types.ts +++ b/invokeai/frontend/web/src/features/controlLayers/store/types.ts @@ -131,7 +131,7 @@ const zSAMPoint = z.object({ y: z.number().int().gte(0), label: zSAMPointLabel, }); -export type SAMPoint = z.infer; +type SAMPoint = z.infer; export type SAMPointWithId = SAMPoint & { id: string }; const zRect = z.object({