Fix for non existent TLR
This commit is contained in:
parent
207e7bb646
commit
df1fe11d60
@ -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>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user