kopia lustrzana https://github.com/Tldraw/Tldraw
Remove redirectTo prop.
rodzic
846a579db4
commit
c3e7206aea
|
@ -7,7 +7,6 @@ export function ErrorPage({
|
|||
}: {
|
||||
icon?: boolean
|
||||
messages: { header: string; para1: string; para2?: string }
|
||||
redirectTo?: string
|
||||
}) {
|
||||
const inIframe = isInIframe()
|
||||
return (
|
||||
|
|
|
@ -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="/"
|
||||
/>
|
||||
)
|
||||
|
||||
|
|
|
@ -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 (
|
||||
|
|
|
@ -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}`} />
|
||||
|
|
|
@ -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="/"
|
||||
/>
|
||||
)
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue