fix(style): language menu

This commit is contained in:
jialin
2024-07-08 14:46:33 +08:00
parent 01e9b70f6d
commit 9ad9539b51
13 changed files with 521 additions and 180 deletions
+2 -2
View File
@@ -3,7 +3,7 @@ import useContainerScroll from '@/hooks/use-container-scorll';
import Convert from 'ansi-to-html';
import classNames from 'classnames';
import hasAnsi from 'has-ansi';
import { useEffect, useRef, useState } from 'react';
import { memo, useEffect, useRef, useState } from 'react';
import './index.less';
interface LogsViewerProps {
@@ -75,4 +75,4 @@ const LogsViewer: React.FC<LogsViewerProps> = (props) => {
);
};
export default LogsViewer;
export default memo(LogsViewer);