Let's use AI to Earn!
TypeScript auto-publishdouyindouyin-apielectron-appelectron-reactkuaishoukwaipublishedshipinhaotoolxiaohongshu
style: 1
牛文政3742e319041e
diff --git a/src/views/reply/components/oneKeyReply.tsx b/src/views/reply/components/oneKeyReply.tsxindex 36c69d78..a9ab9a0a 100644--- a/src/views/reply/components/oneKeyReply.tsx+++ b/src/views/reply/components/oneKeyReply.tsx@@ -92,9 +92,11 @@ const Com = forwardRef<OneKeyReplyRef>((props: any, ref) => {<div className="p-2 mb-4 border border-green-500 rounded-md shadow-md"><p className="text-green-500">{infoText}</p></div>- <div className="p-2 mb-4 border border-red-500 rounded-md shadow-md">- <p className="text-red-500">{errorText}</p>- </div>+ {errorText && (+ <div className="p-2 mb-4 border border-red-500 rounded-md shadow-md">+ <p className="text-red-500">{errorText}</p>+ </div>+ )}</Modal></>);