diff --git a/components/avatar/index.tsx b/components/avatar/index.tsx index aab371feea..89c157f6e0 100644 --- a/components/avatar/index.tsx +++ b/components/avatar/index.tsx @@ -197,6 +197,11 @@ export default class Avatar extends React.Component { ); } } + + // The event is triggered twice from bubbling up the DOM tree. + // see https://codesandbox.io/s/kind-snow-9lidz + delete others.onError; + return (