Skip to content

Commit f3f1708

Browse files
committed
Style
1 parent b42c006 commit f3f1708

File tree

1 file changed

+5
-5
lines changed
  • packages/react-native-web/src/exports/Dimensions

1 file changed

+5
-5
lines changed

packages/react-native-web/src/exports/Dimensions/index.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)