Skip to content

refactor: Update Toggle component to use @headlessui/react v2.0 changes #254

refactor: Update Toggle component to use @headlessui/react v2.0 changes

refactor: Update Toggle component to use @headlessui/react v2.0 changes #254

Triggered via push July 31, 2024 12:04
Status Failure
Total duration 43s
Artifacts

type-check.yaml

on: push
format-check
30s
format-check
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 1 warning
format-check: src/components/menu/menu-item/menu-item.stories.tsx#L18
Object literal may only specify known properties, and 'isSelected' does not exist in type 'Partial<ArgTypes<MenuItemProps>>'.
format-check: src/components/navigation/navigation-popover.tsx#L32
Type '{ popoverButton: { setReferenceElement: React.Dispatch<React.SetStateAction<HTMLButtonElement | undefined>>; }; popoverPanel: { setPopperElement: React.Dispatch<...>; styles: React.CSSProperties; attributes: { ...; } | undefined; }; }' is not assignable to type '{ popoverButton: { setReferenceElement: Dispatch<SetStateAction<HTMLButtonElement | undefined>>; }; popoverPanel: { setPopperElement: Dispatch<...>; styles: CSSProperties; attributes: { ...; } | undefined; }; }'.
format-check
Process completed with exit code 2.
format-check
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/