diff --git a/src/components/ViewingsList/ViewingsListCard.tsx b/src/components/ViewingsList/ViewingsListCard.tsx index d745bd62..1bb23e06 100644 --- a/src/components/ViewingsList/ViewingsListCard.tsx +++ b/src/components/ViewingsList/ViewingsListCard.tsx @@ -86,7 +86,7 @@ export interface ViewingsListCardProps extends ViewingsListCardFormProps, Record * Optional string to pass for edit button */ saveBtnLabel?: string; - /** + /** * Email toggle */ emailOn?: string; @@ -163,7 +163,6 @@ const ViewingsListCard = ({ viewingHours1Label, viewingHours2, viewingHours2Label, - }: ViewingsListCardProps) => { const [enableOnSiteState, setEnableOnSiteState] = React.useState(enableOnSite === 'true'); const firstInput = React.useRef(null); diff --git a/src/components/ViewingsList/ViewingsListCardForm.tsx b/src/components/ViewingsList/ViewingsListCardForm.tsx index bada2e48..6f2d5106 100644 --- a/src/components/ViewingsList/ViewingsListCardForm.tsx +++ b/src/components/ViewingsList/ViewingsListCardForm.tsx @@ -157,7 +157,7 @@ export interface ViewingsListCardFormProps { emailLink?: string; /** * Label for email Link input: - */ + */ emailLinkLabel?: string; }