diff --git a/src/components/room/widgets/avatar-info/AvatarInfoWidgetRentableBotView.tsx b/src/components/room/widgets/avatar-info/AvatarInfoWidgetRentableBotView.tsx index 0822cff9..73d9e985 100644 --- a/src/components/room/widgets/avatar-info/AvatarInfoWidgetRentableBotView.tsx +++ b/src/components/room/widgets/avatar-info/AvatarInfoWidgetRentableBotView.tsx @@ -191,7 +191,7 @@ export const AvatarInfoWidgetRentableBotView: FC { LocalizeText('bot.skill.name.configuration.new.motto') } - ('motto.max.legnth', 38) } onChange={ event => setNewMotto(event.target.value) } /> + ('motto.max.length', 38) } onChange={ event => setNewMotto(event.target.value) } /> diff --git a/src/components/room/widgets/infostand/InfoStandWidgetUserView.tsx b/src/components/room/widgets/infostand/InfoStandWidgetUserView.tsx index 6846e60d..f6f9034a 100644 --- a/src/components/room/widgets/infostand/InfoStandWidgetUserView.tsx +++ b/src/components/room/widgets/infostand/InfoStandWidgetUserView.tsx @@ -25,7 +25,7 @@ export const InfoStandWidgetUserView: FC = props = const saveMotto = (motto: string) => { - if(!isEditingMotto || (motto.length > GetConfiguration('motto.max.legnth', 38))) return; + if(!isEditingMotto || (motto.length > GetConfiguration('motto.max.length', 38))) return; widgetHandler.processWidgetMessage(new RoomWidgetChangeMottoMessage(motto)); @@ -195,7 +195,7 @@ export const InfoStandWidgetUserView: FC = props = { !isEditingMotto && setIsEditingMotto(true) }>{ motto }  } { isEditingMotto && - ('motto.max.legnth', 38) } value={ motto } onChange={ event => setMotto(event.target.value) } onBlur={ onMottoBlur } onKeyDown={ onMottoKeyDown } autoFocus={ true } /> } + ('motto.max.length', 38) } value={ motto } onChange={ event => setMotto(event.target.value) } onBlur={ onMottoBlur } onKeyDown={ onMottoKeyDown } autoFocus={ true } /> } }