refactor: optimize send button

This commit is contained in:
leedom
2023-04-06 21:02:48 +08:00
parent 85bf4ac077
commit b7cdea1b82
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>