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'; import Controls from '../controls/controls';
interface TLRProps { interface TLRProps {
content: string; content?: string;
position: number; position: number;
page: number; page: number;
loading: boolean; 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 ref={containerRef} id="KH_FE_FPLAN" className="p2">
<div id="TLR"> <div id="TLR">
<div> <div>
<pre>{content}</pre> <pre>{typeof content !== 'string' ? 'No TLR exists' : content}</pre>
</div> </div>
</div> </div>
</div> </div>