@@ -417,9 +417,9 @@ export function TrustPortalSwitch({
417417 }
418418 } }
419419 />
420- { /* SOC 2 TYPE I */ }
420+ { /* SOC 2 Type 1 */ }
421421 < ComplianceFramework
422- title = "SOC 2 TYPE I "
422+ title = "SOC 2 Type 1 "
423423 description = "A compliance framework focused on data security, availability, and confidentiality."
424424 isEnabled = { soc2type1 }
425425 status = { soc2type1Status }
@@ -429,9 +429,9 @@ export function TrustPortalSwitch({
429429 orgId,
430430 soc2type1Status : value as 'started' | 'in_progress' | 'compliant' ,
431431 } ) ;
432- toast . success ( 'SOC 2 TYPE I status updated' ) ;
432+ toast . success ( 'SOC 2 Type 1 status updated' ) ;
433433 } catch ( error ) {
434- toast . error ( 'Failed to update SOC 2 TYPE I status' ) ;
434+ toast . error ( 'Failed to update SOC 2 Type 1 status' ) ;
435435 }
436436 } }
437437 onToggle = { async ( checked ) => {
@@ -440,15 +440,15 @@ export function TrustPortalSwitch({
440440 orgId,
441441 soc2type1 : checked ,
442442 } ) ;
443- toast . success ( 'SOC 2 TYPE I status updated' ) ;
443+ toast . success ( 'SOC 2 Type 1 status updated' ) ;
444444 } catch ( error ) {
445- toast . error ( 'Failed to update SOC 2 TYPE I status' ) ;
445+ toast . error ( 'Failed to update SOC 2 Type 1 status' ) ;
446446 }
447447 } }
448448 />
449- { /* SOC 2 TYPE II */ }
449+ { /* SOC 2 Type 2 */ }
450450 < ComplianceFramework
451- title = "SOC 2 TYPE II "
451+ title = "SOC 2 Type 2 "
452452 description = "A compliance framework focused on data security, availability, and confidentiality."
453453 isEnabled = { soc2type2 }
454454 status = { soc2type2Status }
@@ -458,9 +458,9 @@ export function TrustPortalSwitch({
458458 orgId,
459459 soc2type2Status : value as 'started' | 'in_progress' | 'compliant' ,
460460 } ) ;
461- toast . success ( 'SOC 2 TYPE II status updated' ) ;
461+ toast . success ( 'SOC 2 Type 2 status updated' ) ;
462462 } catch ( error ) {
463- toast . error ( 'Failed to update SOC 2 TYPE II status' ) ;
463+ toast . error ( 'Failed to update SOC 2 Type 2 status' ) ;
464464 }
465465 } }
466466 onToggle = { async ( checked ) => {
@@ -469,9 +469,9 @@ export function TrustPortalSwitch({
469469 orgId,
470470 soc2type2 : checked ,
471471 } ) ;
472- toast . success ( 'SOC 2 TYPE II status updated' ) ;
472+ toast . success ( 'SOC 2 Type 2 status updated' ) ;
473473 } catch ( error ) {
474- toast . error ( 'Failed to update SOC 2 TYPE II status' ) ;
474+ toast . error ( 'Failed to update SOC 2 Type 2 status' ) ;
475475 }
476476 } }
477477 />
@@ -544,11 +544,11 @@ function ComplianceFramework({
544544 < div className = "h-16 w-16 flex items-center justify-center" >
545545 < HIPAA className = "max-h-full max-w-full" />
546546 </ div >
547- ) : title === 'SOC 2 TYPE I ' ? (
547+ ) : title === 'SOC 2 Type 1 ' ? (
548548 < div className = "h-16 w-16 flex items-center justify-center" >
549549 < SOC2Type1 className = "max-h-full max-w-full" />
550550 </ div >
551- ) : title === 'SOC 2 TYPE II ' ? (
551+ ) : title === 'SOC 2 Type 2 ' ? (
552552 < div className = "h-16 w-16 flex items-center justify-center" >
553553 < SOC2Type2 className = "max-h-full max-w-full" />
554554 </ div >
0 commit comments