Skip to content

Commit

Permalink
fix: update package
Browse files Browse the repository at this point in the history
  • Loading branch information
MatanYadaev committed Feb 13, 2025
1 parent 2b3ee1b commit 387f4d6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -271,11 +271,11 @@ export const MerchantMonitoringBusinessReport: FunctionComponent = () => {
) : (
<Button
onClick={() => {
if (!businessReport?.merchantId) {
throw new Error('Merchant ID is missing');
if (!businessReport?.business.id) {
throw new Error('Business ID is missing');
}

turnOngoingMonitoringOn(businessReport.merchantId, {
turnOngoingMonitoringOn(businessReport.business.id, {
onSuccess: () => {
setIsDeboardModalOpen(false);
setIsDropdownOpen(false);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { Crown } from 'lucide-react';
import { ComponentProps, ReactNode, useMemo } from 'react';
import { Writable } from 'type-fest';
import { ComponentProps, ReactNode } from 'react';
import { ContentTooltip } from '@/components/molecules/ContentTooltip/ContentTooltip';

import {
Expand All @@ -13,8 +12,7 @@ import {
WebsitesCompany,
} from '@/components';
import { z } from 'zod';
import { MERCHANT_REPORT_STATUSES, MERCHANT_REPORT_TYPES } from '../../constants';
import { ReportSchema, RiskIndicatorRiskLevel, RiskIndicatorSchema } from '@ballerine/common';
import { ReportSchema, RiskIndicatorSchema } from '@ballerine/common';
import { getUniqueRiskIndicators } from '@/common';

type UseReportTabsProps = {
Expand Down

0 comments on commit 387f4d6

Please sign in to comment.