diff --git a/tools/obscuroscan_v3/frontend/pages/address/[address].tsx b/tools/obscuroscan_v3/frontend/pages/address/[address].tsx index 9cf8f59e59..bb8a057374 100644 --- a/tools/obscuroscan_v3/frontend/pages/address/[address].tsx +++ b/tools/obscuroscan_v3/frontend/pages/address/[address].tsx @@ -12,7 +12,8 @@ const AddressDetails = () => { push("/")}>Go Home} /> diff --git a/tools/obscuroscan_v3/frontend/src/components/modules/common/empty-state.tsx b/tools/obscuroscan_v3/frontend/src/components/modules/common/empty-state.tsx index 94854bd29e..ba62b14c3b 100644 --- a/tools/obscuroscan_v3/frontend/src/components/modules/common/empty-state.tsx +++ b/tools/obscuroscan_v3/frontend/src/components/modules/common/empty-state.tsx @@ -4,23 +4,25 @@ const EmptyState = ({ title, description, icon, - image, + imageSrc, + imageAlt, action, }: { title?: string; description?: string; icon?: React.ReactNode; - image?: string; + imageSrc?: string; + imageAlt?: string; action?: React.ReactNode; }) => { return (
{icon &&
{icon}
} - {image && ( + {imageSrc && ( Empty state )}