diff --git a/lib/components/base-edit-user-avatar-provider.react.js b/lib/components/base-edit-user-avatar-provider.react.js --- a/lib/components/base-edit-user-avatar-provider.react.js +++ b/lib/components/base-edit-user-avatar-provider.react.js @@ -46,7 +46,6 @@ ); type Props = { - +displayFailureAlert?: () => mixed, +useUploadSelectedMedia: ( setProcessingOrUploadInProgress?: (inProgress: boolean) => mixed, ) => (selection: NativeMediaSelection) => Promise, diff --git a/native/avatars/native-edit-user-avatar-provider.react.js b/native/avatars/native-edit-user-avatar-provider.react.js --- a/native/avatars/native-edit-user-avatar-provider.react.js +++ b/native/avatars/native-edit-user-avatar-provider.react.js @@ -4,10 +4,7 @@ import { BaseEditUserAvatarProvider } from 'lib/components/base-edit-user-avatar-provider.react.js'; -import { - useUploadSelectedMedia, - displayAvatarUpdateFailureAlert, -} from './avatar-hooks.js'; +import { useUploadSelectedMedia } from './avatar-hooks.js'; type Props = { +children: React.Node, @@ -15,10 +12,7 @@ function NativeEditUserAvatarProvider(props: Props): React.Node { const { children } = props; return ( - + {children} );