diff --git a/components/ChatBubble.tsx b/components/ChatBubble.tsx index 69d9361..616a3d6 100644 --- a/components/ChatBubble.tsx +++ b/components/ChatBubble.tsx @@ -181,7 +181,16 @@ const ChatBubble: React.FC = ({ message, language, onUpdateMess prose prose-p:my-1 prose-headings:my-2 prose-strong:font-bold prose-code:bg-black/10 prose-code:rounded prose-code:px-1 prose-code:py-0.5 prose-pre:bg-slate-900 prose-pre:text-slate-100 prose-pre:rounded-lg max-w-none `}> {message.type === MessageType.TEXT ? ( - + , + b: ({node, ...props}) => , + ul: ({node, ...props}) =>
    , + ol: ({node, ...props}) =>
      , + li: ({node, ...props}) =>
    1. + }} + > {message.content} ) : ( diff --git a/components/ErrorBoundary.tsx b/components/ErrorBoundary.tsx index 0e8c77a..fc2eb8c 100644 --- a/components/ErrorBoundary.tsx +++ b/components/ErrorBoundary.tsx @@ -1,4 +1,4 @@ -import React, { Component, ErrorInfo, ReactNode } from "react"; +import React, { ErrorInfo, ReactNode } from "react"; import { AlertCircle, RefreshCw, Trash2 } from 'lucide-react'; interface Props { @@ -10,14 +10,11 @@ interface State { error: Error | null; } -export class ErrorBoundary extends Component { - constructor(props: Props) { - super(props); - this.state = { - hasError: false, - error: null - }; - } +export class ErrorBoundary extends React.Component { + public state: State = { + hasError: false, + error: null + }; public static getDerivedStateFromError(error: Error): State { return { hasError: true, error }; diff --git a/releases/HTY1024-APP-SKR-0.11.1_20251229.zip b/releases/HTY1024-APP-SKR-0.11.1_20251229.zip new file mode 100644 index 0000000..a7e5d63 Binary files /dev/null and b/releases/HTY1024-APP-SKR-0.11.1_20251229.zip differ