Merge pull request #18757 from ramonlsouza/backport-prop-fix

fix: size prop type warning
This commit is contained in:
Anton Georgiev 2023-09-11 14:05:41 -04:00 committed by GitHub
commit cae85dd8b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,6 +5,7 @@ import BBBMenu from '/imports/ui/components/common/menu/component';
import UserReactionService from '/imports/ui/components/user-reaction/service'; import UserReactionService from '/imports/ui/components/user-reaction/service';
import UserListService from '/imports/ui/components/user-list/service'; import UserListService from '/imports/ui/components/user-list/service';
import { Emoji } from 'emoji-mart'; import { Emoji } from 'emoji-mart';
import { convertRemToPixels } from '/imports/utils/dom-utils';
import Styled from './styles'; import Styled from './styles';
@ -74,7 +75,7 @@ const ReactionsButton = (props) => {
const emojiProps = { const emojiProps = {
native: true, native: true,
size: '1.5rem', size: convertRemToPixels(1.5),
padding: '4px', padding: '4px',
}; };