@@ -94,6 +94,13 @@ export function StreamlinedGroupHeader({event, group, project}: GroupHeaderProps
9494 const { feedback} = useFeedbackSDKIntegration ( ) ;
9595 const hasPageFrameFeature = useHasPageFrameFeature ( ) ;
9696
97+ const feedbackOptions = {
98+ messagePlaceholder : t ( 'Please provide feedback on the issue Sentry detected.' ) ,
99+ tags : {
100+ [ 'feedback.source' ] : feedbackSource ,
101+ } ,
102+ } ;
103+
97104 const statusProps = getBadgeProperties ( group . status , group . substatus ) ;
98105 const issueTypeConfig = getConfigForIssueType ( group , project ) ;
99106
@@ -154,14 +161,7 @@ export function StreamlinedGroupHeader({event, group, project}: GroupHeaderProps
154161 < TopBar . Slot name = "feedback" >
155162 < FeedbackButton
156163 aria-label = { t ( 'Give feedback on the issue Sentry detected' ) }
157- feedbackOptions = { {
158- messagePlaceholder : t (
159- 'Please provide feedback on the issue Sentry detected.'
160- ) ,
161- tags : {
162- [ 'feedback.source' ] : feedbackSource ,
163- } ,
164- } }
164+ feedbackOptions = { feedbackOptions }
165165 >
166166 { null }
167167 </ FeedbackButton >
@@ -170,14 +170,7 @@ export function StreamlinedGroupHeader({event, group, project}: GroupHeaderProps
170170 < FeedbackButton
171171 aria-label = { t ( 'Give feedback on the issue Sentry detected' ) }
172172 size = "xs"
173- feedbackOptions = { {
174- messagePlaceholder : t (
175- 'Please provide feedback on the issue Sentry detected.'
176- ) ,
177- tags : {
178- [ 'feedback.source' ] : feedbackSource ,
179- } ,
180- } }
173+ feedbackOptions = { feedbackOptions }
181174 />
182175 )
183176 ) : (
0 commit comments