File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
packages/react-native-web/src/exports/Dimensions Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -118,8 +118,8 @@ export default class Dimensions {
118118 }
119119
120120 static addEventListener (
121- type : DimensionEventListenerType ,
122- handler : ( DimensionsValue ) = > void
121+ type : DimensionEventListenerType ,
122+ handler : ( DimensionsValue ) = > void
123123 ) : EventSubscription {
124124 listeners [ type ] = listeners [ type ] || [ ] ;
125125 listeners [ type ] . push ( handler ) ;
@@ -132,12 +132,12 @@ export default class Dimensions {
132132 }
133133
134134 static removeEventListener (
135- type : DimensionEventListenerType ,
136- handler : ( DimensionsValue ) = > void
135+ type : DimensionEventListenerType ,
136+ handler : ( DimensionsValue ) = > void
137137 ) : void {
138138 if ( Array . isArray ( listeners [ type ] ) ) {
139139 listeners [ type ] = listeners [ type ] . filter (
140- ( _handler ) => _handler !== handler
140+ ( _handler ) => _handler !== handler
141141 ) ;
142142 }
143143 }
You can’t perform that action at this time.
0 commit comments