diff --git a/plugins/catalog/src/components/EntityContextMenu/EntityContextMenu.tsx b/plugins/catalog/src/components/EntityContextMenu/EntityContextMenu.tsx index 25d9a5242a..92ed8c02a6 100644 --- a/plugins/catalog/src/components/EntityContextMenu/EntityContextMenu.tsx +++ b/plugins/catalog/src/components/EntityContextMenu/EntityContextMenu.tsx @@ -89,7 +89,7 @@ export function EntityContextMenu(props: EntityContextMenuProps) { const [state, setState] = useState({ open: false, vertical: 'top', - horizontal:'right' + horizontal: 'right', }); const { open, vertical, horizontal } = state; @@ -99,7 +99,9 @@ export function EntityContextMenu(props: EntityContextMenuProps) { }; const copyToClipboard = () => { - navigator.clipboard.writeText(window.location.toString()).then(()=> setState({...state, open:true})); + navigator.clipboard + .writeText(window.location.toString()) + .then(() => setState({ ...state, open: true })); }; const extraItems = UNSTABLE_extraContextMenuItems && [