File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
packages/feedback/src/core Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -251,10 +251,11 @@ export const buildFeedbackIntegration = ({
251
251
} ;
252
252
253
253
const _createActor = ( optionOverrides : OverrideFeedbackConfiguration = { } ) : ActorComponent => {
254
- const shadow = _createShadow ( _options ) ;
255
- const actor = Actor ( { triggerLabel : _options . triggerLabel , shadow } ) ;
256
- const mergedOptions = mergeOptions ( _options , {
257
- ...optionOverrides ,
254
+ const mergedOptions = mergeOptions ( _options , optionOverrides ) ;
255
+ const shadow = _createShadow ( mergedOptions ) ;
256
+ const actor = Actor ( { triggerLabel : mergedOptions . triggerLabel , shadow } ) ;
257
+ _attachTo ( actor . el , {
258
+ ...mergedOptions ,
258
259
onFormOpen ( ) {
259
260
actor . hide ( ) ;
260
261
} ,
@@ -265,7 +266,6 @@ export const buildFeedbackIntegration = ({
265
266
actor . show ( ) ;
266
267
} ,
267
268
} ) ;
268
- _attachTo ( actor . el , mergedOptions ) ;
269
269
return actor ;
270
270
} ;
271
271
You can’t perform that action at this time.
0 commit comments