Skip to content

Commit 175f127

Browse files
refactor(Tooltip.stories): use a primitive element for the decorator
1 parent 986e579 commit 175f127

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/components/Tooltip/Tooltip.stories.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import * as React from "react"
22
import { RiInformationLine } from "react-icons/ri"
33
import { Box } from "@chakra-ui/react"
44
import { Meta, StoryObj } from "@storybook/react"
5-
import { expect, fireEvent, userEvent, waitFor, within } from "@storybook/test"
5+
import { expect, userEvent, waitFor, within } from "@storybook/test"
66

77
import InlineLink from "../Link"
88
import Translation from "../Translation"
@@ -49,9 +49,9 @@ const meta = {
4949
},
5050
decorators: [
5151
(Story) => (
52-
<Box position="relative">
52+
<div>
5353
<Story />
54-
</Box>
54+
</div>
5555
),
5656
],
5757
} satisfies Meta<TooltipType>

0 commit comments

Comments
 (0)