костыль для эмоджи

This commit is contained in:
Nastya 2025-03-31 20:19:33 +03:00
parent 2f843b4c96
commit b3537381b7
3 changed files with 9 additions and 3 deletions

@ -86,7 +86,7 @@
]
},
"devDependencies": {
"@emoji-mart/data": "^1.1.2",
"@emoji-mart/data": "^1.2.1",
"@emoji-mart/react": "^1.1.1",
"@types/cytoscape-popper": "^2.0.4",
"@types/react-beautiful-dnd": "^13.1.4",

@ -9,6 +9,7 @@ import { AnswerDraggableList } from "../AnswerDraggableList";
import ButtonsOptions from "../QuestionOptions/ButtonsLayout/ButtonsOptions";
import EmojiAnswerItem from "./EmojiAnswerItem/EmojiAnswerItem";
import SwitchEmoji from "./switchEmoji";
import Emoji3 from '@emoji-mart/react';
interface Props {
question: QuizQuestionEmoji;
@ -132,6 +133,11 @@ export default function Emoji({ question, openBranchingPage, setOpenBranchingPag
switchState={switchState}
question={question}
/>
<Box sx={{
display: "none"
}}>
<Emoji3 emoji={{ id: 'construction_worker', skin: 1 }} size={24} />
</Box>
</>
);
}

@ -1337,7 +1337,7 @@
debug "^3.1.0"
lodash.once "^4.1.1"
"@emoji-mart/data@^1.1.2":
"@emoji-mart/data@^1.2.1":
version "1.2.1"
resolved "https://registry.yarnpkg.com/@emoji-mart/data/-/data-1.2.1.tgz#0ad70c662e3bc603e23e7d98413bd1e64c4fcb6c"
integrity sha512-no2pQMWiBy6gpBEiqGeU77/bFejDqUTRY7KX+0+iur13op3bqUsXdnwoZs6Xb1zbv0gAj5VvS1PWoUUckSr5Dw==
@ -1513,7 +1513,7 @@
resolved "https://registry.yarnpkg.com/@floating-ui/utils/-/utils-0.2.2.tgz#d8bae93ac8b815b2bd7a98078cf91e2724ef11e5"
integrity sha512-J4yDIIthosAsRZ5CPYP/jQvUAQtlZTTD/4suA08/FEnlxqW3sKS9iAhgsa9VYLZ6vDHn/ixJgIqRQPotoBjxIw==
"@frontend/kitui@^1.0.86":
"@frontend/kitui@^1.0.87":
version "1.0.86"
resolved "https://penahub.gitlab.yandexcloud.net/api/v4/projects/21/packages/npm/@frontend/kitui/-/@frontend/kitui-1.0.86.tgz#03a56b99403b62810134f3d7da01ea3fc8cc4f7f"
integrity sha1-A6VrmUA7YoEBNPPX2gHqP8jMT38=