diff --git a/app/components/Icons/ShortcutIcon.tsx b/app/components/Icons/ShortcutIcon.tsx index 99acd39..e98576e 100644 --- a/app/components/Icons/ShortcutIcon.tsx +++ b/app/components/Icons/ShortcutIcon.tsx @@ -1,12 +1,14 @@ -import { FunctionComponent } from "react"; +export type ShortcutIconProps = { + children: React.ReactNode; + className?: string; +}; -export const ShortcutIcon: FunctionComponent<{ className?: string }> = ({ - className, - children, -}) => { +export function ShortcutIcon({ className, children }: ShortcutIconProps) { return ( - + {children} ); -}; +} diff --git a/app/components/ToolTip.tsx b/app/components/ToolTip.tsx index 4ba51e1..962e96a 100644 --- a/app/components/ToolTip.tsx +++ b/app/components/ToolTip.tsx @@ -34,7 +34,7 @@ export function ToolTip({ children, className, arrow }: ToolTipProps) { transition={{ duration: 0.2 }} whileHover={{ scale: 1, opacity: 1 }} whileTap={{ - scale: 1.05, + scale: 1, }} onMouseOver={() => setIsShown(true)} onMouseOut={() => setIsShown(false)}