Remove redirectTo prop.

pull/3605/head
Mitja Bezenšek 2024-04-25 15:50:55 +02:00
rodzic 846a579db4
commit c3e7206aea
5 zmienionych plików z 0 dodań i 5 usunięć

Wyświetl plik

@ -7,7 +7,6 @@ export function ErrorPage({
}: {
icon?: boolean
messages: { header: string; para1: string; para2?: string }
redirectTo?: string
}) {
const inIframe = isInIframe()
return (

Wyświetl plik

@ -32,7 +32,6 @@ export function Component() {
header: 'Page not found',
para1: 'The page you are looking does not exist or has been moved.',
}}
redirectTo="/"
/>
)

Wyświetl plik

@ -29,7 +29,6 @@ export function Component() {
header: 'Page not found',
para1: 'The page you are looking does not exist or has been moved.',
}}
redirectTo="/"
/>
)
return (

Wyświetl plik

@ -34,7 +34,6 @@ export function Component() {
header: 'Page not found',
para1: 'The page you are looking does not exist or has been moved.',
}}
redirectTo="/"
/>
)
return <Navigate to={`/r/${data.slug}`} />

Wyświetl plik

@ -8,7 +8,6 @@ export function Component() {
header: 'Page not found',
para1: 'The page you are looking does not exist or has been moved.',
}}
redirectTo="/"
/>
)
}