diff --git a/prediction_market_agent/agents/microchain_agent/nft_treasury_game/app_nft_treasury_game.py b/prediction_market_agent/agents/microchain_agent/nft_treasury_game/app_nft_treasury_game.py index f3ab7efb..c85778df 100644 --- a/prediction_market_agent/agents/microchain_agent/nft_treasury_game/app_nft_treasury_game.py +++ b/prediction_market_agent/agents/microchain_agent/nft_treasury_game/app_nft_treasury_game.py @@ -89,7 +89,7 @@ def send_message_part(nft_agent: type[DeployableAgentNFTGameAbstract]) -> None: format="%0.5f", ) message_compressed = HexBytes(compress_message(message)).hex() if message else "" - if st.button("Send message"): + if st.button("Send message", disabled=not message): send_message_via_wallet( recipient=nft_agent.wallet_address, message=message_compressed,