, "value">,
) => JSX.Element;
export default ListboxItemBase;
diff --git a/packages/components/listbox/stories/listbox.stories.tsx b/packages/components/listbox/stories/listbox.stories.tsx
index a096fbf3b8..c399302382 100644
--- a/packages/components/listbox/stories/listbox.stories.tsx
+++ b/packages/components/listbox/stories/listbox.stories.tsx
@@ -725,9 +725,7 @@ const LargeDatasetTemplate = (args: ListboxProps & {numItems: number}) => {
{largeDataset.map((item, index) => (
-
- {item.label}
-
+ {item.label}
))}
diff --git a/packages/components/select/__tests__/select.test.tsx b/packages/components/select/__tests__/select.test.tsx
index 874e57d7db..eeb0bc1e47 100644
--- a/packages/components/select/__tests__/select.test.tsx
+++ b/packages/components/select/__tests__/select.test.tsx
@@ -482,26 +482,14 @@ describe("Select", () => {
const wrapper = render(
<>
>,
);
@@ -631,15 +619,9 @@ describe("Select", () => {
it("should close listbox by clicking selector button again", async () => {
const wrapper = render(
,
);
@@ -678,9 +660,7 @@ describe("Select", () => {
onChange={onChange}
>
{options.map((o) => (
-
- {o}
-
+ {o}
))}
,
);
@@ -716,9 +696,7 @@ describe("Select", () => {
onChange={onChange}
>
{options.map((o) => (
-
- {o}
-
+ {o}
))}
,
);
@@ -748,15 +726,9 @@ describe("Select", () => {
labelPlacement="outside"
placeholder="placeholder"
>
-
- Penguin
-
-
- Zebra
-
-
- Shark
-
+ Penguin
+ Zebra
+ Shark
,
);
@@ -777,15 +749,9 @@ describe("Select", () => {
label={labelContent}
placeholder="placeholder"
>
-
- Penguin
-
-
- Zebra
-
-
- Shark
-
+ Penguin
+ Zebra
+ Shark
,
);
@@ -901,9 +867,7 @@ describe("Select virtualization tests", () => {
,
@@ -930,9 +894,7 @@ describe("Select virtualization tests", () => {
,
@@ -982,9 +944,7 @@ describe("Select virtualization tests", () => {
onChange={onChange}
>
{options.map((o) => (
-
- {o}
-
+ {o}
))}
,
@@ -1036,9 +996,7 @@ describe("Select virtualization tests", () => {
onChange={onChange}
>
{options.map((o) => (
-
- {o}
-
+ {o}
))}
,
diff --git a/packages/components/select/stories/select.stories.tsx b/packages/components/select/stories/select.stories.tsx
index 209dfafca4..85577f55b5 100644
--- a/packages/components/select/stories/select.stories.tsx
+++ b/packages/components/select/stories/select.stories.tsx
@@ -69,11 +69,7 @@ const defaultProps = {
...select.defaultVariants,
};
-const items = animalsData.map((item) => (
-
- {item.label}
-
-));
+const items = animalsData.map((item) => {item.label});
const Template = ({color, variant, ...args}: SelectProps) => (