Page MenuHomePhabricator

D13063.diff
No OneTemporary

D13063.diff

diff --git a/native/tooltip/nux-tips-overlay.react.js b/native/tooltip/nux-tips-overlay.react.js
--- a/native/tooltip/nux-tips-overlay.react.js
+++ b/native/tooltip/nux-tips-overlay.react.js
@@ -86,7 +86,7 @@
ButtonComponent: React.ComponentType<ButtonProps<BaseNUXTipsOverlayProps>>,
tipText: string,
): React.ComponentType<BaseNUXTipsOverlayProps> {
- function ConnectedNUXTipsOverlay(props: BaseNUXTipsOverlayProps) {
+ function NUXTipsOverlay(props: BaseNUXTipsOverlayProps) {
const dimensions = useSelector(state => state.dimensions);
const overlayContext = React.useContext(OverlayContext);
invariant(overlayContext, 'NUXTipsOverlay should have OverlayContext');
@@ -275,7 +275,7 @@
</TouchableWithoutFeedback>
);
}
- return React.memo<BaseNUXTipsOverlayProps>(ConnectedNUXTipsOverlay);
+ return React.memo<BaseNUXTipsOverlayProps>(NUXTipsOverlay);
}
export { createNUXTipsOverlay };

File Metadata

Mime Type
text/plain
Expires
Sat, Dec 21, 12:40 AM (18 h, 38 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2684180
Default Alt Text
D13063.diff (936 B)

Event Timeline