diff --git a/fluxer_app/src/features/app/components/dialogs/components/DesktopSettingsView.tsx b/fluxer_app/src/features/app/components/dialogs/components/DesktopSettingsView.tsx index e2a5dca65..fbf8f3d24 100644 --- a/fluxer_app/src/features/app/components/dialogs/components/DesktopSettingsView.tsx +++ b/fluxer_app/src/features/app/components/dialogs/components/DesktopSettingsView.tsx @@ -31,7 +31,7 @@ import { SEARCH_SETTINGS_PLACEHOLDER_DESCRIPTOR, SIGN_OUT_DESCRIPTOR, } from '@app/features/i18n/utils/CommonMessageDescriptors'; -import {ComponentDispatch} from '@app/features/platform/utils/ComponentBus'; +import {ComponentBus} from '@app/features/platform/utils/ComponentBus'; import {remFromPx} from '@app/features/theme/layout/RemFromPx'; import {Button} from '@app/features/ui/button/Button'; import * as ModalCommands from '@app/features/ui/commands/ModalCommands'; @@ -223,7 +223,7 @@ const SidebarSections: React.FC = observer( scrollSpyContext.scrollToSection(sectionId); return; } - ComponentDispatch.dispatch('USER_SETTINGS_TAB_SELECT', {tab: tabType, section: sectionId}); + ComponentBus.dispatch('USER_SETTINGS_TAB_SELECT', {tab: tabType, section: sectionId}); }; return ( { - ComponentDispatch.dispatch('USER_SETTINGS_TAB_SELECT', {tab: 'gift_inventory'}); + ComponentBus.dispatch('USER_SETTINGS_TAB_SELECT', {tab: 'gift_inventory'}); }, []); const handleCancelSubscriptionConfirmed = useCallback(() => { ModalCommands.push( diff --git a/fluxer_app/src/features/app/components/dialogs/components/plutonium/GiftInventoryBanner.tsx b/fluxer_app/src/features/app/components/dialogs/components/plutonium/GiftInventoryBanner.tsx index abca1169a..1646d0945 100644 --- a/fluxer_app/src/features/app/components/dialogs/components/plutonium/GiftInventoryBanner.tsx +++ b/fluxer_app/src/features/app/components/dialogs/components/plutonium/GiftInventoryBanner.tsx @@ -1,7 +1,7 @@ // SPDX-License-Identifier: AGPL-3.0-or-later import styles from '@app/features/app/components/dialogs/components/plutonium/GiftInventoryBanner.module.css'; -import {ComponentDispatch} from '@app/features/platform/utils/ComponentBus'; +import {ComponentBus} from '@app/features/platform/utils/ComponentBus'; import {shouldShowPremiumFeatures} from '@app/features/premium/utils/PremiumUtils'; import {Button} from '@app/features/ui/button/Button'; import type {User} from '@app/features/user/models/User'; @@ -37,7 +37,7 @@ export const GiftInventoryBanner: React.FC = observer(