From ac2c30b7173a2f9279ac768b22ac34531a68992a Mon Sep 17 00:00:00 2001 From: hram_wh Date: Thu, 15 Sep 2022 16:42:59 +0530 Subject: [PATCH] fix style issue Signed-off-by: hram_wh --- .../src/components/EntityContextMenu/EntityContextMenu.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 && [