diff --git a/web/src/components/ActionButton/ExecuteButton.tsx b/web/src/components/ActionButton/ExecuteButton.tsx index 70414b9..b9464e0 100644 --- a/web/src/components/ActionButton/ExecuteButton.tsx +++ b/web/src/components/ActionButton/ExecuteButton.tsx @@ -10,8 +10,9 @@ interface IExecuteButton { registryAddress: Address; itemId: string; refetch: () => void; + disabled?: boolean; } -const ExecuteButton: React.FC = ({ registryAddress, itemId, refetch }) => { +const ExecuteButton: React.FC = ({ registryAddress, itemId, refetch, disabled }) => { const publicClient = usePublicClient(); const [isExecuting, setIsExecuting] = useState(false); @@ -26,7 +27,7 @@ const ExecuteButton: React.FC = ({ registryAddress, itemId, refe