diff options
author | luzpaz <luzpaz@users.noreply.github.com> | 2022-02-22 14:14:17 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-22 20:14:17 +0100 |
commit | 73f5e4a1d9c6d067ff62c5cc9a65d929a56f0f00 (patch) | |
tree | f012ffa81db81ea4fb14e47ec92e4dc8f088444c /app/javascript | |
parent | 166f6e4b500dd84eeffdbf887b2dc21e6d8c0aa6 (diff) |
Fix various typos (#17621)
Found via `codespell -q 3 -S ./CHANGELOG.md,./AUTHORS.md,./config/locales,./app/javascript/mastodon/locales -L ba,keypair,medias,ro`
Diffstat (limited to 'app/javascript')
-rw-r--r-- | app/javascript/mastodon/components/loading_indicator.js | 2 | ||||
-rw-r--r-- | app/javascript/mastodon/features/emoji/emoji_compressed.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/javascript/mastodon/components/loading_indicator.js b/app/javascript/mastodon/components/loading_indicator.js index 59f721c50..33c59d94c 100644 --- a/app/javascript/mastodon/components/loading_indicator.js +++ b/app/javascript/mastodon/components/loading_indicator.js @@ -6,7 +6,7 @@ export const CircularProgress = ({ size, strokeWidth }) => { const radius = (size - strokeWidth) / 2; return ( - <svg width={size} heigh={size} viewBox={viewBox} className='circular-progress' role='progressbar'> + <svg width={size} height={size} viewBox={viewBox} className='circular-progress' role='progressbar'> <circle fill='none' cx={size / 2} diff --git a/app/javascript/mastodon/features/emoji/emoji_compressed.js b/app/javascript/mastodon/features/emoji/emoji_compressed.js index 74b53ce5c..6a402f2d4 100644 --- a/app/javascript/mastodon/features/emoji/emoji_compressed.js +++ b/app/javascript/mastodon/features/emoji/emoji_compressed.js @@ -90,7 +90,7 @@ Object.keys(emojiIndex.emojis).forEach(key => { let { short_names, search, unified } = emojiMartData.emojis[key]; if (short_names[0] !== key) { - throw new Error('The compresser expects the first short_code to be the ' + + throw new Error('The compressor expects the first short_code to be the ' + 'key. It may need to be rewritten if the emoji change such that this ' + 'is no longer the case.'); } |