Skip to content

Commit 9713f85

Browse files
committed
Fix web build
1 parent 3eb7461 commit 9713f85

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

website/templates/LandingPage/components/InfoIconTooltip.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import { InfoOutlineIcon } from "@chakra-ui/icons"
21
import { Flex, Tooltip } from "@chakra-ui/react"
32
import { FC } from "react"
3+
import { InfoOutlineIcon } from "./icons/InfoOutlineIcon"
44

55
type WithInfoIconAndTooltipProps = {
66
tooltip: string
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import {
2+
IconProps,
3+
InfoOutlineIcon as ChakraInfoOutlineIcon,
4+
} from "@chakra-ui/icons"
5+
import { FC } from "react"
6+
7+
/**
8+
* This is a workaround for the following issue:
9+
* https://github.com/chakra-ui/chakra-ui/issues/3714#issuecomment-1518284403
10+
*/
11+
export const InfoOutlineIcon: FC<IconProps> =
12+
ChakraInfoOutlineIcon as FC<IconProps>

0 commit comments

Comments
 (0)