From 3ea2579e679624f0fe3b8b31dc371a7baebda1fc Mon Sep 17 00:00:00 2001 From: Jamie Guthrie Date: Thu, 17 Aug 2023 13:29:56 +0200 Subject: Create DelayedTooltip component --- modern/src/settings/components/CollectionActions.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'modern/src/settings/components') diff --git a/modern/src/settings/components/CollectionActions.js b/modern/src/settings/components/CollectionActions.js index 287be964..09218b89 100644 --- a/modern/src/settings/components/CollectionActions.js +++ b/modern/src/settings/components/CollectionActions.js @@ -2,12 +2,12 @@ import React, { useState } from 'react'; import { IconButton, Menu, MenuItem, useMediaQuery, useTheme, } from '@mui/material'; -import Tooltip from '@mui/material/Tooltip'; import MoreVertIcon from '@mui/icons-material/MoreVert'; import EditIcon from '@mui/icons-material/Edit'; import DeleteIcon from '@mui/icons-material/Delete'; import { useNavigate } from 'react-router-dom'; import { makeStyles } from '@mui/styles'; +import DelayedTooltip from '../../common/components/DelayedTooltip'; import RemoveDialog from '../../common/components/RemoveDialog'; import { useTranslation } from '../../common/components/LocalizationProvider'; @@ -74,24 +74,24 @@ const CollectionActions = ({ ) : (
{customActions && customActions.map((action) => ( - + handleCustom(action)}> {action.icon} - + ))} {!readonly && ( <> - + - - + + - + )}
-- cgit v1.2.3