Page MenuHomePhabricator

D7555.id25552.diff
No OneTemporary

D7555.id25552.diff

diff --git a/native/avatars/avatar-hooks.js b/native/avatars/avatar-hooks.js
--- a/native/avatars/avatar-hooks.js
+++ b/native/avatars/avatar-hooks.js
@@ -409,7 +409,7 @@
);
}
-function useENSUserAvatar(): [() => Promise<void>, boolean] {
+function useENSUserAvatar(): [() => void, boolean] {
const dispatchActionPromise = useDispatchActionPromise();
const updateUserAvatarCall = useServerCall(updateUserAvatar);
@@ -417,7 +417,7 @@
updateUserAvatarLoadingStatusSelector,
);
- const saveENSUserAvatar = React.useCallback(async () => {
+ const saveENSUserAvatar = React.useCallback(() => {
const ensAvatarRequest: ENSAvatarDBContent = {
type: 'ens',
};

File Metadata

Mime Type
text/plain
Expires
Mon, Nov 25, 1:27 PM (21 h, 40 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2579914
Default Alt Text
D7555.id25552.diff (696 B)

Event Timeline