feat: enhance server stats widgets and fix TypeScript/ESLint errors #394

Merged
ZacharyZcR merged 50 commits from feature-server-stats-customization into dev-1.8.0 2025-10-10 03:48:34 +00:00
2 changed files with 1 additions and 11 deletions
Showing only changes of commit af66f1eaec - Show all commits
@@ -972,13 +972,7 @@ export function FileViewer({
<ReactMarkdown <ReactMarkdown
remarkPlugins={[remarkGfm]} remarkPlugins={[remarkGfm]}
components={{ components={{
code({ code({ inline, className, children, ...props }) {
node,
inline,
className,
children,
...props
}) {
const match = /language-(\w+)/.exec( const match = /language-(\w+)/.exec(
className || "", className || "",
); );
@@ -50,10 +50,6 @@ export function TerminalWindow({
closeWindow(windowId); closeWindow(windowId);
}; };
const handleMinimize = () => {
minimizeWindow(windowId);
};
const handleMaximize = () => { const handleMaximize = () => {
maximizeWindow(windowId); maximizeWindow(windowId);
}; };