Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions src/components/ProactiveAppReviewModalManager.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@ import useOnyx from '@hooks/useOnyx';
import useProactiveAppReview from '@hooks/useProactiveAppReview';
import requestStoreReview from '@libs/actions/StoreReview';
import {respondToProactiveAppReview} from '@libs/actions/User';
import Navigation from '@libs/Navigation/Navigation';
import ONYXKEYS from '@src/ONYXKEYS';
import ROUTES from '@src/ROUTES';
import type {AppReviewResponse} from '@src/types/onyx/AppReview';
import ProactiveAppReviewModal from './ProactiveAppReviewModal';

Expand All @@ -20,11 +18,6 @@ function ProactiveAppReviewModalManager() {
(response: AppReviewResponse, message?: string) => {
// Call the action which will create an optimistic comment (if the message is provided) and call the API
respondToProactiveAppReview(response, proactiveAppReview, message, conciergeReportID);

// Navigate to Concierge DM if we have a report ID and this wasn't a skip
if (conciergeReportID && response !== 'skip') {
Navigation.navigate(ROUTES.REPORT_WITH_ID.getRoute(conciergeReportID));
}
},
[conciergeReportID, proactiveAppReview],
);
Expand Down
Loading