diff --git a/src/shared/components/comment/comment-form.tsx b/src/shared/components/comment/comment-form.tsx index 5cce2b53..c9937c62 100644 --- a/src/shared/components/comment/comment-form.tsx +++ b/src/shared/components/comment/comment-form.tsx @@ -41,12 +41,7 @@ export class CommentForm extends Component { : undefined : undefined; - const userInterfaceLangId = !UserService.Instance.myUserInfo - ? 0 - : getUserInterfaceLangId({ - myUserInfo: UserService.Instance.myUserInfo, - allLanguages: this.props.allLanguages, - }); + const userInterfaceLangId = getUserInterfaceLangId(this.props.allLanguages); return (
{ return this.props.iconVersion ? ( this.selectBtn ) : ( -
+