Skip to content

Commit

Permalink
Modify View All Languages
Browse files Browse the repository at this point in the history
  • Loading branch information
mayfwl committed Aug 21, 2024
1 parent a6b14c7 commit 8496980
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/components/markdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import RehypeHighlight from "rehype-highlight";
import { useRef, useState, RefObject, useEffect, useMemo } from "react";
import { copyToClipboard, useWindowSize } from "../utils";
import mermaid from "mermaid";

import Locale from "../locales";
import LoadingIcon from "../icons/three-dots.svg";
import React from "react";
import { useDebouncedCallback } from "use-debounce";
Expand Down Expand Up @@ -188,7 +188,7 @@ function CustomCode(props: { children: any }) {
collapsed ? "collapsed" : "expanded"
}`}
>
<button onClick={toggleCollapsed}>查看全部</button>
<button onClick={toggleCollapsed}>{Locale.NewChat.More}</button>
</div>
)}
</code>
Expand Down

0 comments on commit 8496980

Please sign in to comment.