mirror of
https://github.com/documenso/documenso.git
synced 2025-11-17 18:21:32 +10:00
fix: update og card
This commit is contained in:
@ -1,12 +1,13 @@
|
||||
'use client';
|
||||
|
||||
import React from 'react';
|
||||
import { useEffect } from 'react';
|
||||
|
||||
export default function Redirect() {
|
||||
React.useEffect(() => {
|
||||
useEffect(() => {
|
||||
const timer = setTimeout(() => {
|
||||
window.location.href = 'https://www.documenso.com';
|
||||
}, 3000);
|
||||
|
||||
return () => clearTimeout(timer);
|
||||
}, []);
|
||||
|
||||
|
||||
@ -38,10 +38,10 @@ export default async function SigningPage({ params: { token } }: SigningPageProp
|
||||
}).catch(() => null),
|
||||
getFieldsForToken({ token }),
|
||||
getRecipientByToken({ token }).catch(() => null),
|
||||
viewedDocument({ token }),
|
||||
viewedDocument({ token }).catch(() => null),
|
||||
]);
|
||||
|
||||
if (!document || !document.documentData || !recipient) {
|
||||
if (!document || !recipient) {
|
||||
return notFound();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user