File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
src/components/BannerGrid Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import { MotionGlobalConfig } from "framer-motion"
3
3
import type { Preview } from "@storybook/react"
4
4
5
5
import ThemeProvider from "@/components/ThemeProvider"
6
+ import { TooltipProvider } from "@/components/ui/tooltip"
6
7
7
8
import i18n , { baseLocales } from "./i18next"
8
9
import { withNextThemes } from "./withNextThemes"
@@ -39,7 +40,9 @@ const preview: Preview = {
39
40
} ) ,
40
41
( Story ) => (
41
42
< ThemeProvider >
42
- < Story />
43
+ < TooltipProvider >
44
+ < Story />
45
+ </ TooltipProvider >
43
46
</ ThemeProvider >
44
47
) ,
45
48
] ,
Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ import { getTranslation } from "@/storybook-utils"
11
11
12
12
import { langViewportModes } from "../../../.storybook/modes"
13
13
import { ContentContainer } from "../MdComponents"
14
- import { TooltipProvider } from "../ui/tooltip"
15
14
16
15
import {
17
16
Banner as BannerComponent ,
@@ -38,9 +37,7 @@ const meta = {
38
37
( Story ) => (
39
38
< div className = "relative w-full" >
40
39
< ContentContainer >
41
- < TooltipProvider >
42
- < Story />
43
- </ TooltipProvider >
40
+ < Story />
44
41
</ ContentContainer >
45
42
</ div >
46
43
) ,
You can’t perform that action at this time.
0 commit comments