Skip to content

Commit 0519068

Browse files
committed
Fix ResultDisplay timeout ref typing
1 parent 7cfbda1 commit 0519068

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

frontend/src/components/ResultDisplay.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ interface ResultDisplayProperties {
1111
export function ResultDisplay({ result, onCreateAnother, onRetryReadiness }: ResultDisplayProperties) {
1212
const [copyNotice, setCopyNotice] = useState('');
1313
const [showAllPreviewItems, setShowAllPreviewItems] = useState(false);
14-
const copyResetReference = useRef<number | undefined>(undefined);
14+
const copyResetReference = useRef<ReturnType<typeof globalThis.setTimeout> | undefined>(undefined);
1515
const { feed, preview, readinessPhase } = result;
1616

1717
const fullUrl = feed.public_url.startsWith('http')

0 commit comments

Comments
 (0)