diff --git a/source/components/conversation/Question.js b/source/components/conversation/Question.tsx similarity index 91% rename from source/components/conversation/Question.js rename to source/components/conversation/Question.tsx index 5e7425d35..fc4441552 100644 --- a/source/components/conversation/Question.js +++ b/source/components/conversation/Question.tsx @@ -2,6 +2,7 @@ import classnames from 'classnames' import { ThemeColorsContext } from 'Components/utils/colors' import { is } from 'ramda' import React, { useCallback, useContext } from 'react' +import emoji from 'react-easy-emoji' import { Trans } from 'react-i18next' import Explicable from './Explicable' import SendButton from './SendButton' @@ -77,7 +78,7 @@ export default function Question({ )} {choices.children && - choices.children.map(({ title, dottedName, children }) => + choices.children.map(({ title, dottedName, children, icons }) => children ? (