diff --git a/react/features/base/avatar/components/web/StatelessAvatar.js b/react/features/base/avatar/components/web/StatelessAvatar.js index 476a9bf62..fd9309f0f 100644 --- a/react/features/base/avatar/components/web/StatelessAvatar.js +++ b/react/features/base/avatar/components/web/StatelessAvatar.js @@ -2,7 +2,6 @@ import React from 'react'; -import { translate } from '../../../../base/i18n'; import { Icon } from '../../../icons'; import AbstractStatelessAvatar, { type Props as AbstractProps } from '../AbstractStatelessAvatar'; @@ -31,19 +30,14 @@ type Props = AbstractProps & { /** * TestId of the element, if any. */ - testId?: string, - - /** - * Invoked to obtain translated strings. - */ - t: Function + testId?: string }; /** * Implements a stateless avatar component that renders an avatar purely from what gets passed through * props. */ -class StatelessAvatar extends AbstractStatelessAvatar { +export default class StatelessAvatar extends AbstractStatelessAvatar { /** * Implements {@code Component#render}. * @@ -70,7 +64,7 @@ class StatelessAvatar extends AbstractStatelessAvatar { return (
{ { return (
{ { _isIcon: (?string | ?Object) => boolean } - -export default translate(StatelessAvatar);