diff --git a/src/components/githubCta.tsx b/src/components/githubCta.tsx index adc0ec6ed1ac7..fd30a99cb3555 100644 --- a/src/components/githubCta.tsx +++ b/src/components/githubCta.tsx @@ -1,6 +1,5 @@ -import React, {Fragment} from 'react'; +import React from 'react'; -import {FeedbackModal} from './feedback/feedbackModal'; import {SmartLink} from './smartLink'; type GitHubCTAProps = { @@ -28,28 +27,9 @@ export function GitHubCTA({sourceInstanceName, relativePath}: GitHubCTAProps) { Contribute to Docs {' '}   |   - - {({showModal}) => ( - - { - if (!window.Sentry?.getCurrentHub?.()) { - return true; - } - - // Only Stop event propagation if Sentry SDK is loaded - // (i.e. feedback is supported), otherwise will send you to github - e.preventDefault(); - showModal(); - return false; - }} - > - Report a problem - {' '} - - )} - + + Report a problem + {' '}