Skip to content

Commit

Permalink
fix: emote sizes are undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
6lr61 committed Sep 18, 2024
1 parent 5b01a4f commit 649212d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/hooks/useSevenTvEmotes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -206,12 +206,12 @@ function makeSevenTvFragments(
name: emote.data.owner.display_name,
},
small: {
file: `https:${emote.data.host.url}/1x.webp`,
...sizeOf("1px.webp", emote.data.host.files),
src: `https:${emote.data.host.url}/1x.webp`,
...sizeOf("1x.webp", emote.data.host.files),
},
big: {
file: `https:${emote.data.host.url}/4x.webp`,
...sizeOf("4px.webp", emote.data.host.files),
src: `https:${emote.data.host.url}/4x.webp`,
...sizeOf("4x.webp", emote.data.host.files),
},
},
] as const
Expand Down

0 comments on commit 649212d

Please sign in to comment.