Skip to content

Commit 7306c5a

Browse files
committed
fix: ci
1 parent 6bd0cf2 commit 7306c5a

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

packages/web-ui/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"lint:fix": "TIMING=1 eslint --fix --max-warnings 0 --ext ts,tsx src",
1515
"lint": "TIMING=1 eslint --max-warnings 0 --ext ts,tsx src",
1616
"format": "prettier --write \"./src/**/*.{ts,tsx}\"",
17-
"format:ci": "prettier --list-different \"./{src,types}/**/*.{tsx,ts}\"",
17+
"format:ci": "prettier --check \"./{src,types}/**/*.{tsx,ts}\"",
1818
"dev": "storybook dev --quiet -p 6006",
1919
"build:storybook": "storybook build --quiet",
2020
"build-storybook": "storybook build",

packages/web-ui/src/components/Fieldset/Fieldset.tsx

+4-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,10 @@ const StyledElement = styled('fieldset')({
2323
* The `Fieldset` component should be used to group related form inputs, and
2424
* should be used with the `FieldsetLegend` component
2525
*/
26-
export const Fieldset = React.forwardRef<
26+
export const Fieldset: React.ForwardRefExoticComponent<
27+
React.PropsWithChildren<PropsWithSx<FieldsetProps>> &
28+
React.RefAttributes<React.ElementRef<'fieldset'>>
29+
> = React.forwardRef<
2730
React.ElementRef<'fieldset'>,
2831
React.PropsWithChildren<PropsWithSx<FieldsetProps>>
2932
>(({ children, className, ...props }, ref) => {

0 commit comments

Comments
 (0)