From 66fbdf2ad9a1e6e69acd76c16b5c8d40449dc86c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?marcin=20miko=C5=82ajczak?= Date: Sun, 10 Nov 2024 22:37:02 +0100 Subject: [PATCH] pl-fe: remove barrel export MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: marcin mikołajczak --- packages/pl-fe/src/actions/push-notifications/index.ts | 6 ------ packages/pl-fe/src/features/ui/index.tsx | 2 +- packages/pl-fe/src/reducers/push-notifications.ts | 2 +- 3 files changed, 2 insertions(+), 8 deletions(-) delete mode 100644 packages/pl-fe/src/actions/push-notifications/index.ts diff --git a/packages/pl-fe/src/actions/push-notifications/index.ts b/packages/pl-fe/src/actions/push-notifications/index.ts deleted file mode 100644 index f850f7f1f..000000000 --- a/packages/pl-fe/src/actions/push-notifications/index.ts +++ /dev/null @@ -1,6 +0,0 @@ -export { register } from './registerer'; -export { - SET_BROWSER_SUPPORT, - SET_SUBSCRIPTION, - CLEAR_SUBSCRIPTION, -} from './setter'; diff --git a/packages/pl-fe/src/features/ui/index.tsx b/packages/pl-fe/src/features/ui/index.tsx index 3e996cada..8dcd24879 100644 --- a/packages/pl-fe/src/features/ui/index.tsx +++ b/packages/pl-fe/src/features/ui/index.tsx @@ -9,7 +9,7 @@ import { fetchDraftStatuses } from 'pl-fe/actions/draft-statuses'; import { fetchFilters } from 'pl-fe/actions/filters'; import { fetchMarker } from 'pl-fe/actions/markers'; import { expandNotifications } from 'pl-fe/actions/notifications'; -import { register as registerPushNotifications } from 'pl-fe/actions/push-notifications'; +import { register as registerPushNotifications } from 'pl-fe/actions/push-notifications/registerer'; import { fetchScheduledStatuses } from 'pl-fe/actions/scheduled-statuses'; import { fetchHomeTimeline } from 'pl-fe/actions/timelines'; import { useUserStream } from 'pl-fe/api/hooks/streaming/use-user-stream'; diff --git a/packages/pl-fe/src/reducers/push-notifications.ts b/packages/pl-fe/src/reducers/push-notifications.ts index a28a7df08..ff250ab51 100644 --- a/packages/pl-fe/src/reducers/push-notifications.ts +++ b/packages/pl-fe/src/reducers/push-notifications.ts @@ -1,6 +1,6 @@ import { create } from 'mutative'; -import { SET_BROWSER_SUPPORT, SET_SUBSCRIPTION, CLEAR_SUBSCRIPTION } from '../actions/push-notifications'; +import { SET_BROWSER_SUPPORT, SET_SUBSCRIPTION, CLEAR_SUBSCRIPTION } from '../actions/push-notifications/setter'; import type { SetterAction } from 'pl-fe/actions/push-notifications/setter';