File tree Expand file tree Collapse file tree
services/backend-api/client/src/features/feed/components/UserFeedHealthAlert Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import {
1111import dayjs from "dayjs" ;
1212import { useTranslation } from "react-i18next" ;
1313import { useNavigate } from "react-router-dom" ;
14- import { UserFeedArticleRequestStatus , UserFeedDisabledCode } from "../../types" ;
14+ import { UserFeedDisabledCode } from "../../types" ;
1515import { useUserFeedContext } from "../../../../contexts/UserFeedContext" ;
1616import {
1717 getErrorMessageForArticleRequestStatus ,
@@ -23,6 +23,7 @@ import { pages } from "../../../../constants";
2323import { UserFeedTabSearchParam } from "../../../../constants/userFeedTabSearchParam" ;
2424import { FixFeedRequestsCTA } from "../FixFeedRequestsCTA" ;
2525import { usePageAlertContext } from "../../../../contexts/PageAlertContext" ;
26+ import { UserFeedUrlRequestStatus } from "../../types/UserFeedUrlRequestStatus" ;
2627
2728const RESOLVABLE_STATUS_CODES = [ 429 , 403 , 401 ] ;
2829
@@ -45,7 +46,7 @@ export const UserFeedHealthAlert = () => {
4546 feedId : userFeed . id ,
4647 } ) ;
4748
48- if ( requestStatus === UserFeedArticleRequestStatus . Success ) {
49+ if ( requestStatus === UserFeedUrlRequestStatus . Success ) {
4950 createSuccessAlert ( {
5051 title : "Request to feed was successful." ,
5152 } ) ;
You can’t perform that action at this time.
0 commit comments