diff --git a/pkgs/ui/src/components/consume_action/index.tsx b/pkgs/ui/src/components/consume_action/index.tsx new file mode 100644 index 0000000..0ae9bc8 --- /dev/null +++ b/pkgs/ui/src/components/consume_action/index.tsx @@ -0,0 +1,5 @@ +const ConsumeAction = () => { + return <>; +}; + +export default ConsumeAction; diff --git a/pkgs/ui/src/components/entity_actions/index.tsx b/pkgs/ui/src/components/entity_actions/index.tsx index 7a3ba8d..27d2b3d 100644 --- a/pkgs/ui/src/components/entity_actions/index.tsx +++ b/pkgs/ui/src/components/entity_actions/index.tsx @@ -26,7 +26,7 @@ const EntityActions = ({ endpointData, rowData }: Props) => { severity: AlertColor; }>(SNACKBAR_DEFAULT); - console.error("Error registering/deregistering:", error); + if (error) console.error("Error registering/deregistering:", error); const onDeleteEntity = async () => { if (rowData) @@ -34,7 +34,6 @@ const EntityActions = ({ endpointData, rowData }: Props) => { const response = await deleteEntity({ entity_did: rowData?.entity_did, }); - console.log("On Delete:", response.data.message); setSnackbar({ open: true, message: response.data.message,