Skip to content

Commit

Permalink
chore(ui): lint
Browse files Browse the repository at this point in the history
  • Loading branch information
psychedelicious authored and hipsterusername committed Oct 24, 2024
1 parent 66d9c7c commit e6ab6e0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions invokeai/frontend/web/src/common/hooks/useBoolean.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ const zSAMPoint = z.object({
y: z.number().int().gte(0),
label: zSAMPointLabel,
});
export type SAMPoint = z.infer<typeof zSAMPoint>;
type SAMPoint = z.infer<typeof zSAMPoint>;
export type SAMPointWithId = SAMPoint & { id: string };

const zRect = z.object({
Expand Down

0 comments on commit e6ab6e0

Please sign in to comment.