Skip to content
This repository has been archived by the owner on Oct 4, 2023. It is now read-only.

Commit

Permalink
Remove unused notification announcement page (#3739)
Browse files Browse the repository at this point in the history
  • Loading branch information
dharit-tan authored Jul 18, 2023
1 parent 5023cef commit 9c5a412
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 131 deletions.
8 changes: 0 additions & 8 deletions packages/web/src/pages/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ import DesktopRoute from 'components/routes/DesktopRoute'
import MobileRoute from 'components/routes/MobileRoute'
import TrendingGenreSelectionPage from 'components/trending-genre-selection/TrendingGenreSelectionPage'
import { AiAttributedTracksPage } from 'pages/ai-attributed-tracks-page'
import AnnouncementPage from 'pages/announcement-page/AnnoucementPage'
import ArtistDashboardPage from 'pages/artist-dashboard-page/ArtistDashboardPage'
import { AudioRewardsPage } from 'pages/audio-rewards-page/AudioRewardsPage'
import { AudioTransactionsPage } from 'pages/audio-transactions-page'
Expand Down Expand Up @@ -86,7 +85,6 @@ import {
FEED_PAGE,
TRENDING_PAGE,
NOTIFICATION_PAGE,
ANNOUNCEMENT_PAGE,
NOTIFICATION_USERS_PAGE,
EXPLORE_PAGE,
EXPLORE_HEAVY_ROTATION_PAGE,
Expand Down Expand Up @@ -564,12 +562,6 @@ class App extends Component {
isMobile={isMobileClient}
component={NotificationUsersPage}
/>
<Route
exact
path={ANNOUNCEMENT_PAGE}
isMobile={isMobileClient}
component={AnnouncementPage}
/>
<Route
exact
path={NOTIFICATION_PAGE}
Expand Down
81 changes: 0 additions & 81 deletions packages/web/src/pages/announcement-page/AnnoucementPage.tsx

This file was deleted.

This file was deleted.

2 changes: 0 additions & 2 deletions packages/web/src/utils/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ export const CHAT_PAGE = '/messages/:id?'

// Param routes.
export const NOTIFICATION_USERS_PAGE = '/notification/:notificationId/users'
export const ANNOUNCEMENT_PAGE = '/notification/:notificationId'
export const SEARCH_CATEGORY_PAGE = '/search/:query/:category'
export const SEARCH_PAGE = '/search/:query?'
export const PLAYLIST_PAGE = '/:handle/playlist/:playlistName'
Expand Down Expand Up @@ -175,7 +174,6 @@ export const orderedRoutes = [
SIGN_UP_PAGE,
FEED_PAGE,
NOTIFICATION_USERS_PAGE,
ANNOUNCEMENT_PAGE,
NOTIFICATION_PAGE,
TRENDING_GENRES,
TRENDING_PAGE,
Expand Down

0 comments on commit 9c5a412

Please sign in to comment.