Page MenuHomePhabricator

D7555.diff
No OneTemporary

D7555.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
Fri, Nov 29, 5:02 AM (21 h, 2 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2595921
Default Alt Text
D7555.diff (696 B)

Event Timeline