Skip to content

Commit

Permalink
fix import of Tooltip from comet/admin in admin components
Browse files Browse the repository at this point in the history
  • Loading branch information
Julia Wegmayr committed Nov 26, 2024
1 parent dbecf3d commit 4f9be98
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions packages/admin/admin/src/common/Tooltip.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import {
ComponentsOverrides,
Popper as MuiPopper,
Theme,
// eslint-disable-next-line no-restricted-imports
Tooltip as MuiTooltip,
tooltipClasses,
TooltipClassKey as MuiTooltipClassKey,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { Button, ButtonProps, ComponentsOverrides, IconButton, Tooltip } from "@mui/material";
import { Button, ButtonProps, ComponentsOverrides, IconButton } from "@mui/material";
import { css, Theme, useTheme, useThemeProps } from "@mui/material/styles";
import { Tooltip } from "common/Tooltip";

import { createComponentSlot } from "../../../helpers/createComponentSlot";
import { ThemedComponentBaseProps } from "../../../helpers/ThemedComponentBaseProps";
Expand Down
3 changes: 2 additions & 1 deletion packages/admin/admin/src/form/FinalFormInput.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { Translate } from "@comet/admin-icons";
import { IconButton, InputBase, InputBaseProps, Tooltip } from "@mui/material";
import { IconButton, InputBase, InputBaseProps } from "@mui/material";
import { Tooltip } from "common/Tooltip";
import { useState } from "react";
import { FieldRenderProps } from "react-final-form";
import { FormattedMessage } from "react-intl";
Expand Down
3 changes: 2 additions & 1 deletion packages/admin/admin/src/rowActions/RowActionsIconItem.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { IconButton, IconButtonProps, Tooltip, TooltipProps } from "@mui/material";
import { IconButton, IconButtonProps, TooltipProps } from "@mui/material";
import { Tooltip } from "common/Tooltip";
import { forwardRef, ReactNode } from "react";

import { CommonRowActionItemProps } from "./RowActionsItem";
Expand Down

0 comments on commit 4f9be98

Please sign in to comment.