Merge pull request #298 from nolanlawson/nolan/storybook-urls

chore: fix custom emoji URLs in storybook
release
Nolan Lawson 2019-03-14 08:32:57 -07:00 committed by GitHub
commit 7c6a28fb76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 5 deletions

View File

@ -20,13 +20,13 @@ const CUSTOM_EMOJIS = [
name: 'Octocat', name: 'Octocat',
short_names: ['octocat'], short_names: ['octocat'],
keywords: ['github'], keywords: ['github'],
imageUrl: 'https://assets-cdn.github.com/images/icons/emoji/octocat.png?v7', imageUrl: 'https://github.githubassets.com/images/icons/emoji/octocat.png',
}, },
{ {
name: 'Squirrel', name: 'Squirrel',
short_names: ['shipit', 'squirrel'], short_names: ['shipit', 'squirrel'],
keywords: ['github'], keywords: ['github'],
imageUrl: 'https://assets-cdn.github.com/images/icons/emoji/shipit.png?v7', imageUrl: 'https://github.githubassets.com/images/icons/emoji/shipit.png',
}, },
] ]
@ -55,7 +55,7 @@ storiesOf('Picker', module)
.add('Custom “Not found” component', () => ( .add('Custom “Not found” component', () => (
<Picker <Picker
notFound={() => ( notFound={() => (
<img src="https://assets-cdn.github.com/images/icons/emoji/octocat.png?v7" /> <img src="https://github.githubassets.com/images/icons/emoji/octocat.png" />
)} )}
/> />
)) ))
@ -66,7 +66,7 @@ storiesOf('Picker', module)
icons={{ icons={{
categories: { categories: {
recent: () => ( recent: () => (
<img src="https://assets-cdn.github.com/images/icons/emoji/octocat.png?v7" /> <img src="https://github.githubassets.com/images/icons/emoji/octocat.png" />
), ),
people: () => ( people: () => (
<svg <svg
@ -104,7 +104,7 @@ storiesOf('Picker', module)
</svg> </svg>
), ),
activity: () => ( activity: () => (
<img src="https://assets-cdn.github.com/images/icons/emoji/shipit.png?v7" /> <img src="https://github.githubassets.com/images/icons/emoji/shipit.png" />
), ),
places: () => ( places: () => (
<svg <svg