Skip to content

Commit

Permalink
⬆️ (deps) node-emoji@2 💥 [skip ci] (#1119)
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored Jan 22, 2024
1 parent 6592456 commit 75e8fd4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/design-system/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
"@radix-ui/react-visually-hidden": "1.0.3",
"@stitches/react": "1.3.1-1",
"emoji-regex": "10.3.0",
"node-emoji": "1.11.0",
"node-emoji": "2.1.3",
"smoothscroll-polyfill": "0.4.4"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/design-system/src/custom/Emoji/Emoji.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import nodeEmoji from 'node-emoji'
import { find as findEmoji } from 'node-emoji'

import { styled } from '../../lib/stitches.config'
// import { Box } from '../../components'
Expand Down Expand Up @@ -34,7 +34,7 @@ const EmojiHtml = ({ emoji, label, margin }) => {
}

const Emoji = ({ character, margin = false }) => {
const emojiFound = nodeEmoji.find(character)
const emojiFound = findEmoji(character)

if (emojiFound === undefined) {
return (
Expand Down

0 comments on commit 75e8fd4

Please sign in to comment.