From 87c1a751916ad95d21ef3dd7683318c82d213e97 Mon Sep 17 00:00:00 2001 From: Jeremy Kescher Date: Sat, 27 May 2023 13:05:31 +0200 Subject: [PATCH] Use named import for AnimatedNumber --- app/javascript/flavours/glitch/components/status_reactions.js | 2 +- app/javascript/mastodon/components/status_reactions.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/javascript/flavours/glitch/components/status_reactions.js b/app/javascript/flavours/glitch/components/status_reactions.js index ff025e8d28..1ee8a0a028 100644 --- a/app/javascript/flavours/glitch/components/status_reactions.js +++ b/app/javascript/flavours/glitch/components/status_reactions.js @@ -7,7 +7,7 @@ import TransitionMotion from 'react-motion/lib/TransitionMotion'; import classNames from 'classnames'; import React from 'react'; import unicodeMapping from '../features/emoji/emoji_unicode_mapping_light'; -import AnimatedNumber from './animated_number'; +import { AnimatedNumber } from './animated_number'; import { assetHost } from '../utils/config'; export default class StatusReactions extends ImmutablePureComponent { diff --git a/app/javascript/mastodon/components/status_reactions.js b/app/javascript/mastodon/components/status_reactions.js index ff025e8d28..1ee8a0a028 100644 --- a/app/javascript/mastodon/components/status_reactions.js +++ b/app/javascript/mastodon/components/status_reactions.js @@ -7,7 +7,7 @@ import TransitionMotion from 'react-motion/lib/TransitionMotion'; import classNames from 'classnames'; import React from 'react'; import unicodeMapping from '../features/emoji/emoji_unicode_mapping_light'; -import AnimatedNumber from './animated_number'; +import { AnimatedNumber } from './animated_number'; import { assetHost } from '../utils/config'; export default class StatusReactions extends ImmutablePureComponent {