generated from Luis/nextjs-python-web-template
small formatting fixes
This commit is contained in:
committed by
Sara Pervana
parent
2f6ad476b3
commit
697d2685f3
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user