Spaces:
Sleeping
Sleeping
fixed build error
Browse files- web/src/App.tsx +2 -3
web/src/App.tsx
CHANGED
|
@@ -8,8 +8,7 @@ import './App.css';
|
|
| 8 |
import {
|
| 9 |
mathJaxConfig,
|
| 10 |
preprocessMathContent,
|
| 11 |
-
hasMathContent
|
| 12 |
-
extractMathExpressions
|
| 13 |
} from './mathjax-config';
|
| 14 |
|
| 15 |
|
|
@@ -346,7 +345,7 @@ function App() {
|
|
| 346 |
const [isLoading, setIsLoading] = useState(false);
|
| 347 |
const [responseComplete, setResponseComplete] = useState(false);
|
| 348 |
const [statusMessage, setStatusMessage] = useState('');
|
| 349 |
-
const
|
| 350 |
const messagesEndRef = useRef<HTMLDivElement>(null);
|
| 351 |
const messagesContainerRef = useRef<HTMLDivElement>(null);
|
| 352 |
const abortControllerRef = useRef<AbortController | null>(null);
|
|
|
|
| 8 |
import {
|
| 9 |
mathJaxConfig,
|
| 10 |
preprocessMathContent,
|
| 11 |
+
hasMathContent
|
|
|
|
| 12 |
} from './mathjax-config';
|
| 13 |
|
| 14 |
|
|
|
|
| 345 |
const [isLoading, setIsLoading] = useState(false);
|
| 346 |
const [responseComplete, setResponseComplete] = useState(false);
|
| 347 |
const [statusMessage, setStatusMessage] = useState('');
|
| 348 |
+
const showMathPreview = true;
|
| 349 |
const messagesEndRef = useRef<HTMLDivElement>(null);
|
| 350 |
const messagesContainerRef = useRef<HTMLDivElement>(null);
|
| 351 |
const abortControllerRef = useRef<AbortController | null>(null);
|