Skip to content

Commit

Permalink
fix: type errors after merge
Browse files Browse the repository at this point in the history
  • Loading branch information
danielattilasimon committed Feb 29, 2024
1 parent 4da6d06 commit 4e96766
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/dev-frontend/src/components/InfoBubble.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Box, Flex, Text } from "theme-ui";

import { Icon } from "./Icon";

export const InfoBubble: React.FC = ({ children }) => (
export const InfoBubble: React.FC<React.PropsWithChildren> = ({ children }) => (
<Box
sx={{
display: "flex",
Expand Down
2 changes: 1 addition & 1 deletion packages/dev-frontend/src/components/Tooltip.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export type TooltipProps = Pick<TippyProps, "placement"> &
link?: string;
}>;

export type LearnMoreLinkProps = Pick<TooltipProps, "link">;
export type LearnMoreLinkProps = React.PropsWithChildren<Pick<TooltipProps, "link">>;

export const LearnMoreLink: React.FC<LearnMoreLinkProps> = ({ link, children }) => {
return (
Expand Down

0 comments on commit 4e96766

Please sign in to comment.