refactor: optimize send button

This commit is contained in:
leedom
2023-04-06 21:02:48 +08:00
parent b90efe8116
commit b4c8481aed
3 changed files with 12 additions and 2 deletions

View File

@@ -679,6 +679,7 @@ export function Chat(props: {
text={Locale.Chat.Send}
className={styles["chat-input-send"]}
noDark
disabled={!userInput}
onClick={onUserSubmit}
/>
</div>