Skip to content

Commit 909d081

Browse files
ref(user-feedback): Correct userFeedbackEmpty docs link (#25501)
1 parent 5b262d0 commit 909d081

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

static/app/views/userFeedback/userFeedbackEmpty.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,20 +95,18 @@ class UserFeedbackEmpty extends React.Component<Props> {
9595
<ButtonList gap={1}>
9696
<Button
9797
external
98+
priority="primary"
9899
onClick={() =>
99100
this.trackAnalytics({
100101
eventKey: 'user_feedback.docs_clicked',
101102
eventName: 'User Feedback Docs Clicked',
102103
})
103104
}
104-
href={`https://docs.sentry.io/platforms/${
105-
this.selectedProjects[0]?.platform || 'javascript'
106-
}/enriching-events/user-feedback/`}
105+
href={`https://docs.sentry.io/platform-redirect/?next=/enriching-events/user-feedback/&platform=${this.selectedProjects[0]?.platform}`}
107106
>
108107
{t('Read the docs')}
109108
</Button>
110109
<Button
111-
priority="primary"
112110
onClick={() => {
113111
Sentry.showReportDialog({
114112
// should never make it to the Sentry API, but just in case, use throwaway id

0 commit comments

Comments
 (0)