diff --git a/studio/components/layouts/TableEditorLayout/TableEditorMenu.tsx b/studio/components/layouts/TableEditorLayout/TableEditorMenu.tsx index b4448ad1c72..58709ad9687 100644 --- a/studio/components/layouts/TableEditorLayout/TableEditorMenu.tsx +++ b/studio/components/layouts/TableEditorLayout/TableEditorMenu.tsx @@ -220,49 +220,51 @@ const TableEditorMenu: FC = ({ {schemaTables.map((table) => { const isActive = Number(id) === table.id return ( - } - onClick={() => onEditTable(table)} + } + onClick={() => onEditTable(table)} + > + Edit Table + , + } + onClick={() => onDuplicateTable(table)} + > + Duplicate Table + , + , + } + onClick={() => onDeleteTable(table)} + > + Delete Table + , + ]} > - Edit Table - , - } - onClick={() => onDuplicateTable(table)} - > - Duplicate Table - , - , - } - onClick={() => onDeleteTable(table)} - > - Delete Table - , - ]} - > -
- -
- - ) - } - /> +
+ +
+ + ) + } + /> + ) })} diff --git a/studio/components/ui/ProductMenu/ProductMenuItem.tsx b/studio/components/ui/ProductMenu/ProductMenuItem.tsx index 3a61170a46d..5f76a228148 100644 --- a/studio/components/ui/ProductMenu/ProductMenuItem.tsx +++ b/studio/components/ui/ProductMenu/ProductMenuItem.tsx @@ -12,6 +12,7 @@ interface Props { target?: '_blank' | '_self' onClick?: () => void textClassName?: string + hoverText?: string } const ProductMenuItem: FC = ({ @@ -24,12 +25,13 @@ const ProductMenuItem: FC = ({ target = '_self', onClick, textClassName = '', + hoverText = '' }) => { const menuItem = (
{name}