Skip to content

Commit 7681efe

Browse files
committed
use active status type]
1 parent fd30fd5 commit 7681efe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

frontend/src/components/molecules/MessagePlansList/MessagePlansList.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { Details, Table } from 'nhsuk-react-components';
66
import { format } from 'date-fns/format';
77
import Link from 'next/link';
88
import { MarkdownContent } from '@molecules/MarkdownContent/MarkdownContent';
9-
import { RoutingConfigStatus } from 'nhs-notify-backend-client';
9+
import type { RoutingConfigStatusActive } from 'nhs-notify-backend-client';
1010
import { messagePlanStatusToDisplayText } from 'nhs-notify-web-template-management-utils';
1111

1212
export type MessagePlanListItem = {
@@ -16,7 +16,7 @@ export type MessagePlanListItem = {
1616
};
1717

1818
type MessagePlansListProps = {
19-
status: Exclude<RoutingConfigStatus, 'DELETED'>;
19+
status: RoutingConfigStatusActive;
2020
count: number;
2121
plans: MessagePlanListItem[];
2222
};

0 commit comments

Comments
 (0)