Skip to content

Let's use AI to Earn!

fix: fix publish dialog first step textarea bug

gaoSire86b117419a1
diff --git a/src/components/PublishDialog/index.tsx b/src/components/PublishDialog/index.tsx
index 7dd42739..2dd79900 100644
--- a/src/components/PublishDialog/index.tsx
+++ b/src/components/PublishDialog/index.tsx
@@ -862,7 +862,7 @@ const PublishDialog = memo(
)}
{pubListChoosed.length >= 2 && (
<PubParmasTextarea
- key={`${commonPubParams.images?.length || 0}-${commonPubParams.video ? "video" : "no-video"}-${commonPubParams.des?.length || 0}`}
+ key={`${commonPubParams.images?.length || 0}-${commonPubParams.video ? "video" : "no-video"}`}
platType={PlatType.Instagram}
rows={16}
desValue={commonPubParams.des}