@hokkiai/discord-emoji-selector 1.2.7 → 1.2.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -17767,7 +17767,7 @@ function EmojiSelector({
17767
17767
  )
17768
17768
  }
17769
17769
  ),
17770
- showFooter && /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(Footer, { id, firstEmoji: emojis[0].emojis[0] })
17770
+ showFooter && /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(Footer, { id, firstEmoji: emojis[0]?.emojis[0] })
17771
17771
  ]
17772
17772
  }
17773
17773
  )
package/dist/index.js CHANGED
@@ -722,7 +722,7 @@ function EmojiSelector({
722
722
  )
723
723
  }
724
724
  ),
725
- showFooter && /* @__PURE__ */ jsx6(Footer, { id, firstEmoji: emojis[0].emojis[0] })
725
+ showFooter && /* @__PURE__ */ jsx6(Footer, { id, firstEmoji: emojis[0]?.emojis[0] })
726
726
  ]
727
727
  }
728
728
  )
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hokkiai/discord-emoji-selector",
3
- "version": "1.2.7",
3
+ "version": "1.2.8",
4
4
  "description": "A lightweight & powerful discord-style emoji picker",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",