mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-11-16 14:03:43 +08:00
cap nhat giao dien
This commit is contained in:
@@ -1813,7 +1813,7 @@ function _Chat() {
|
||||
const shouldShowClearContextDivider =
|
||||
i === clearContextIndex - 1;
|
||||
|
||||
console.log(message.role);
|
||||
// console.log(message.role);
|
||||
|
||||
return (
|
||||
<Fragment key={message.id}>
|
||||
@@ -1868,9 +1868,9 @@ function _Chat() {
|
||||
}}
|
||||
></IconButton>
|
||||
</div>
|
||||
{isUser ? (
|
||||
<Avatar avatar={config.avatar} />
|
||||
) : (
|
||||
|
||||
{/* Neu la user thi khong hien thi avatar */}
|
||||
{isUser ? null : (
|
||||
<>
|
||||
{["system"].includes(message.role) ? (
|
||||
<Avatar avatar="2699-fe0f" />
|
||||
|
||||
@@ -5,7 +5,8 @@ require("../polyfill");
|
||||
import { useEffect, useState } from "react";
|
||||
import styles from "./home.module.scss";
|
||||
|
||||
import BotIcon from "../icons/bot.svg";
|
||||
//icon chebichat logo
|
||||
import BotIcon from "../icons/chebichat.svg";
|
||||
import LoadingIcon from "../icons/three-dots.svg";
|
||||
|
||||
import { getCSSVar, useMobileScreen } from "../utils";
|
||||
@@ -14,7 +15,7 @@ import dynamic from "next/dynamic";
|
||||
import { Path, SlotID } from "../constant";
|
||||
import { ErrorBoundary } from "./error";
|
||||
|
||||
import { getISOLang, getLang } from "../locales";
|
||||
import { getISOLang } from "../locales";
|
||||
|
||||
import {
|
||||
HashRouter as Router,
|
||||
@@ -212,7 +213,7 @@ function Screen() {
|
||||
<div
|
||||
className={clsx(styles.container, {
|
||||
[styles["tight-container"]]: shouldTightBorder,
|
||||
[styles["rtl-screen"]]: getLang() === "ar",
|
||||
// [styles["rtl-screen"]]: getLang() === "ar", // Removed because "ar" is not a possible return value
|
||||
})}
|
||||
>
|
||||
{renderContent()}
|
||||
|
||||
Reference in New Issue
Block a user