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',
short_names: ['octocat'],
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',
short_names: ['shipit', 'squirrel'],
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', () => (
<Picker
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={{
categories: {
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: () => (
<svg
@ -104,7 +104,7 @@ storiesOf('Picker', module)
</svg>
),
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: () => (
<svg