Skip to content

Commit c2ee90f

Browse files
committed
fixup! Remove references to MoscaryData
1 parent 6c6b417 commit c2ee90f

File tree

1 file changed

+2
-1
lines changed
  • src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard

1 file changed

+2
-1
lines changed

src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/View.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,8 @@ export const View = (props: Props) => {
160160

161161
const breachesDataArray = props.userBreaches.flat();
162162
const initialScanInProgress =
163-
adjustedScanData.scan?.onerep_scan_status === "in_progress";
163+
adjustedScanData.scan?.onerep_scan_status === "in_progress" &&
164+
props.scanCount === 1;
164165

165166
// Merge exposure cards
166167
const combinedArray = [...breachesDataArray, ...adjustedScanResults];

0 commit comments

Comments
 (0)