Page MenuHomePhabricator

D10167.diff
No OneTemporary

D10167.diff

diff --git a/native/avatars/edit-user-avatar.react.js b/native/avatars/edit-user-avatar.react.js
--- a/native/avatars/edit-user-avatar.react.js
+++ b/native/avatars/edit-user-avatar.react.js
@@ -77,13 +77,15 @@
);
}, [navigate, getRegistrationModeEnabled]);
- const setENSUserAvatar = React.useCallback(() => {
- nativeSetUserAvatar({ type: 'ens' });
- }, [nativeSetUserAvatar]);
+ const setENSUserAvatar = React.useCallback(
+ () => nativeSetUserAvatar({ type: 'ens' }),
+ [nativeSetUserAvatar],
+ );
- const removeUserAvatar = React.useCallback(() => {
- nativeSetUserAvatar({ type: 'remove' });
- }, [nativeSetUserAvatar]);
+ const removeUserAvatar = React.useCallback(
+ () => nativeSetUserAvatar({ type: 'remove' }),
+ [nativeSetUserAvatar],
+ );
const hasCurrentAvatar = !!userInfo?.avatar;
const actionSheetConfig = React.useMemo(() => {

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 23, 3:11 AM (18 h, 22 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2567896
Default Alt Text
D10167.diff (892 B)

Event Timeline