Commit 01ffd620 by chenway

Update ChatTrans.js

parent 4b8c3bbe
Pipeline #160485 passed with stages
in 1 minute 38 seconds
......@@ -10,8 +10,8 @@ import {
import io from "socket.io-client";
import "../App.css";
const url = 'https://staging.strk-ai-support.ngrok.app/'
// const url = "http://localhost:8000";
// const url = 'https://staging.strk-ai-support.ngrok.app/'
const url = "http://localhost:8000";
const socket = io(url, {
extraHeaders: {
......@@ -21,7 +21,7 @@ const socket = io(url, {
function ChatTrans() {
const [languageSupport, setLanguageSupport] = useState("English");
const [languageUser, setLanguageUser] = useState("Simple Chinese");
const [languageUser, setLanguageUser] = useState("Simplified Chinese");
const [userMessage, setUserMessage] = useState("");
const [supportMessage, setSupportMessage] = useState("");
const [supportName, setSupportName] = useState("");
......@@ -158,7 +158,7 @@ function ChatTrans() {
>
<option value="Simplified Chinese">Simplified Chinese</option>
<option value="Traditional Chinese">Traditional Chinese</option>
<option value="Italiano">Italiano</option>
<option value="Italian">Italian</option>
<option value="German">German</option>
<option value="Japanese">Japanese</option>
<option value="French">French</option>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment