File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
core/src/types-hoist/feedback
feedback/src/screenshot/components Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ export interface FeedbackGeneralConfiguration {
64
64
*
65
65
* Default: undefined
66
66
*/
67
- _experiments : Partial < { annotations : boolean ; } >
67
+ _experiments : Partial < { annotations : boolean ; } >
68
68
69
69
/**
70
70
* Set an object that will be merged sent as tags data with the event.
Original file line number Diff line number Diff line change @@ -89,9 +89,9 @@ export function ScreenshotEditorFactory({
89
89
hooks . useEffect ( ( ) => {
90
90
WINDOW . addEventListener ( 'resize' , resize , false ) ;
91
91
92
- // return () => {
93
- // WINDOW.removeEventListener('resize', resize, false);
94
- // };
92
+ return ( ) => {
93
+ WINDOW . removeEventListener ( 'resize' , resize , false ) ;
94
+ } ;
95
95
} , [ ] ) ;
96
96
97
97
function resizeCanvas ( canvasRef : Hooks . Ref < HTMLCanvasElement > , imageDimensions : Rect ) : void {
You can’t perform that action at this time.
0 commit comments