Fix for non existent TLR

This commit is contained in:
Kilian Hofmann 2026-04-28 19:52:00 +02:00
parent 207e7bb646
commit df1fe11d60

View File

@ -2,7 +2,7 @@ import { createRef, FC, useEffect } from 'react';
import Controls from '../controls/controls';
interface TLRProps {
content: string;
content?: string;
position: number;
page: number;
loading: boolean;
@ -63,7 +63,7 @@ const TLR: FC<TLRProps> = ({ content, position, page, loading, reload }) => {
<div ref={containerRef} id="KH_FE_FPLAN" className="p2">
<div id="TLR">
<div>
<pre>{content}</pre>
<pre>{typeof content !== 'string' ? 'No TLR exists' : content}</pre>
</div>
</div>
</div>