Skip to content

Commit

Permalink
corrected typo
Browse files Browse the repository at this point in the history
  • Loading branch information
milan-deepfence committed Jul 5, 2024
1 parent a3ff84c commit 7622c5e
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { merge } from 'lodash-es';
import { useState } from 'react';
import { useParams } from 'react-router-dom';
import { Checkbox, Listbox, ListboxOption, Tooltip } from 'ui-components';
Expand All @@ -21,7 +20,7 @@ import {
isVulnerabilityNotification,
} from './utils';

const SendScanSumaryCheckbox = ({ sendSummaryOnly }: { sendSummaryOnly: boolean }) => {
const SendScanSummaryCheckbox = ({ sendSummaryOnly }: { sendSummaryOnly: boolean }) => {
const [checked, setChecked] = useState(sendSummaryOnly);
return (
<div className="flex gap-x-1.5 items-center col-span-2">
Expand Down Expand Up @@ -102,7 +101,7 @@ export const NotificationTypeField = ({
</Listbox>

{canSendScanSummary(notificationType, integrationType) ? (
<SendScanSumaryCheckbox sendSummaryOnly={data?.config?.send_summary ?? false} />
<SendScanSummaryCheckbox sendSummaryOnly={data?.config?.send_summary ?? false} />
) : null}

{isCloudComplianceNotification(notificationType) &&
Expand Down

0 comments on commit 7622c5e

Please sign in to comment.