Skip to content

Commit 1cc01b8

Browse files
committed
style: remove unneeded commas
1 parent 3097c8b commit 1cc01b8

File tree

176 files changed

+261
-261
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

176 files changed

+261
-261
lines changed

packages/coreui-react/src/components/accordion/CAccordion.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export const CAccordion = forwardRef<HTMLDivElement, CAccordionProps>(
3838
</CAccordionContext.Provider>
3939
</div>
4040
)
41-
},
41+
}
4242
)
4343

4444
CAccordion.propTypes = {

packages/coreui-react/src/components/accordion/CAccordionHeader.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export const CAccordionHeader = forwardRef<HTMLDivElement, CAccordionHeaderProps
1818
<CAccordionButton>{children}</CAccordionButton>
1919
</div>
2020
)
21-
},
21+
}
2222
)
2323

2424
CAccordionHeader.propTypes = {

packages/coreui-react/src/components/alert/CAlert.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export const CAlert = forwardRef<HTMLDivElement, CAlertProps>(
5050
onClose,
5151
...rest
5252
},
53-
ref,
53+
ref
5454
) => {
5555
const alertRef = useRef<HTMLDivElement>(null)
5656
const forkedRef = useForkedRef(ref, alertRef)
@@ -78,7 +78,7 @@ export const CAlert = forwardRef<HTMLDivElement, CAlertProps>(
7878
'alert-dismissible fade': dismissible,
7979
show: state === 'entered',
8080
},
81-
className,
81+
className
8282
)}
8383
role="alert"
8484
{...rest}
@@ -90,7 +90,7 @@ export const CAlert = forwardRef<HTMLDivElement, CAlertProps>(
9090
)}
9191
</Transition>
9292
)
93-
},
93+
}
9494
)
9595

9696
CAlert.propTypes = {

packages/coreui-react/src/components/alert/CAlertHeading.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export const CAlertHeading: PolymorphicRefForwardingComponent<'h4', CAlertHeadin
2323
{children}
2424
</Component>
2525
)
26-
},
26+
}
2727
)
2828

2929
CAlertHeading.propTypes = {

packages/coreui-react/src/components/alert/CAlertLink.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export const CAlertLink = forwardRef<HTMLAnchorElement, CAlertLinkProps>(
1818
{children}
1919
</CLink>
2020
)
21-
},
21+
}
2222
)
2323

2424
CAlertLink.propTypes = {

packages/coreui-react/src/components/alert/__tests__/CAlertHeading.spec.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ test('CAlertHeading customize', async () => {
1212
const { container } = render(
1313
<CAlertHeading as="h3" className="bazinga">
1414
Test
15-
</CAlertHeading>,
15+
</CAlertHeading>
1616
)
1717
expect(container).toMatchSnapshot()
1818
expect(container.firstChild).toHaveClass('bazinga')

packages/coreui-react/src/components/alert/__tests__/CAlertLink.spec.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ test('CAlertLink customize', async () => {
1212
const { container } = render(
1313
<CAlertLink className="bazinga" href="/bazinga">
1414
Test
15-
</CAlertLink>,
15+
</CAlertLink>
1616
)
1717
expect(container).toMatchSnapshot()
1818
expect(container.firstChild).toHaveClass('bazinga')

packages/coreui-react/src/components/avatar/CAvatar.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export const CAvatar = forwardRef<HTMLDivElement, CAvatarProps>(
5858
[`text-${textColor}`]: textColor,
5959
},
6060
shape,
61-
className,
61+
className
6262
)}
6363
{...rest}
6464
ref={ref}
@@ -67,7 +67,7 @@ export const CAvatar = forwardRef<HTMLDivElement, CAvatarProps>(
6767
{status && <span className={statusClassName}></span>}
6868
</div>
6969
)
70-
},
70+
}
7171
)
7272

7373
CAvatar.propTypes = {

packages/coreui-react/src/components/avatar/__tests__/CAvatar.spec.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ test('CAvatar customize', async () => {
2020
textColor="white"
2121
>
2222
Test
23-
</CAvatar>,
23+
</CAvatar>
2424
)
2525
expect(container).toMatchSnapshot()
2626
expect(container.firstChild).toHaveClass('bazinga')
@@ -45,7 +45,7 @@ test('CAvatar customize image', async () => {
4545
src="/bazinga"
4646
>
4747
Test
48-
</CAvatar>,
48+
</CAvatar>
4949
)
5050
expect(container).toMatchSnapshot()
5151

packages/coreui-react/src/components/backdrop/CBackdrop.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export const CBackdrop = forwardRef<HTMLDivElement, CBackdropProps>(
3434
)}
3535
</Transition>
3636
)
37-
},
37+
}
3838
)
3939

4040
CBackdrop.propTypes = {

0 commit comments

Comments
 (0)