diff --git a/Gauge/src/components/tlr/tlr.tsx b/Gauge/src/components/tlr/tlr.tsx index 04c0164..5106683 100644 --- a/Gauge/src/components/tlr/tlr.tsx +++ b/Gauge/src/components/tlr/tlr.tsx @@ -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 = ({ content, position, page, loading, reload }) => {
-
{content}
+
{typeof content !== 'string' ? 'No TLR exists' : content}