correct ai assy language
This commit is contained in:
@@ -385,7 +385,7 @@ class AddToCartButton extends Component {
|
|||||||
startIcon={<ShoppingCartIcon />}
|
startIcon={<ShoppingCartIcon />}
|
||||||
sx={{
|
sx={{
|
||||||
borderRadius: 2,
|
borderRadius: 2,
|
||||||
fontWeight: "bold",
|
whiteSpace: "nowrap",
|
||||||
backgroundColor: "#9ccc65", // yellowish green
|
backgroundColor: "#9ccc65", // yellowish green
|
||||||
color: "#000000",
|
color: "#000000",
|
||||||
"&:hover": {
|
"&:hover": {
|
||||||
@@ -539,7 +539,6 @@ class AddToCartButton extends Component {
|
|||||||
startIcon={<ShoppingCartIcon />}
|
startIcon={<ShoppingCartIcon />}
|
||||||
sx={{
|
sx={{
|
||||||
borderRadius: 2,
|
borderRadius: 2,
|
||||||
fontWeight: "bold",
|
|
||||||
whiteSpace: "nowrap",
|
whiteSpace: "nowrap",
|
||||||
"&:hover": {
|
"&:hover": {
|
||||||
backgroundColor: "primary.dark",
|
backgroundColor: "primary.dark",
|
||||||
|
|||||||
@@ -228,7 +228,7 @@ class ChatAssistant extends Component {
|
|||||||
}, () => {
|
}, () => {
|
||||||
// Emit message to socket server after state is updated
|
// Emit message to socket server after state is updated
|
||||||
if (userMessage.trim()) {
|
if (userMessage.trim()) {
|
||||||
window.socketManager.emit('aiassyMessage', userMessage);
|
window.socketManager.emit('aiassyMessage', { message: userMessage, lang: this.props.i18n?.language });
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user