From a4d0b6b4104ec3cf73c164cd5d42e0b25cc3dc74 Mon Sep 17 00:00:00 2001 From: Etienne Lemay Date: Sat, 27 May 2017 10:54:55 -0400 Subject: [PATCH] Use emoji-datasource subpackages for sheets --- src/components/emoji.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/emoji.js b/src/components/emoji.js index 4d09197..3f6e5e2 100644 --- a/src/components/emoji.js +++ b/src/components/emoji.js @@ -127,7 +127,7 @@ Emoji.defaultProps = { sheetSize: 64, native: false, forceSize: false, - backgroundImageFn: ((set, sheetSize) => `https://unpkg.com/emoji-datasource@${EMOJI_DATASOURCE_VERSION}/sheet_${set}_${sheetSize}.png`), + backgroundImageFn: ((set, sheetSize) => `https://unpkg.com/emoji-datasource-${set}@${EMOJI_DATASOURCE_VERSION}/img/${set}/sheets/${sheetSize}.png`), onOver: (() => {}), onLeave: (() => {}), onClick: (() => {}),