File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,8 @@ import {Search} from 'sentry-docs/components/search';
88
99export default function NotFound ( ) {
1010 const pathname = usePathname ( ) ?? '/' ;
11+ const brokenUrl = `https://docs.sentry.io${ pathname } ` ;
12+ const reportUrl = `https://github.com/getsentry/sentry-docs/issues/new?template=issue-platform-404.yml&title=🔗 404 Error&url=${ brokenUrl } ` ;
1113 return (
1214 < div className = "tw-app" >
1315 < Header pathname = "/" searchPlatforms = { [ ] } noSearch />
@@ -21,11 +23,7 @@ export default function NotFound() {
2123 </ div >
2224 < div className = "pt-8 flex gap-4" >
2325 < Button variant = "solid" size = "3" asChild >
24- < a
25- href = "https://github.com/getsentry/sentry-docs/issues/new/choose"
26- target = "_blank"
27- rel = "noreferrer"
28- >
26+ < a href = { reportUrl } target = "_blank" rel = "noreferrer" >
2927 Report 404 on Github
3028 </ a >
3129 </ Button >
You can’t perform that action at this time.
0 commit comments