rename variable for clarity

This commit is contained in:
bryan newbold
2025-10-27 10:18:40 -07:00
parent 11eac7cbcd
commit 3f75cd14f2
2 changed files with 4 additions and 4 deletions
@@ -28,7 +28,7 @@ export interface ModerationCauseDescription {
sourceType?: ModerationCauseSource['type']
sourceAvi?: string
sourceDid?: string
subjectAccount?: boolean
isSubjectAccount?: boolean
}
export function useModerationCauseDescription(
@@ -163,7 +163,7 @@ export function useModerationCauseDescription(
sourceType: cause.source.type,
sourceAvi: labeler?.creator.avatar,
sourceDid: cause.label.src,
subjectAccount: cause.label.uri.startsWith('did:'),
isSubjectAccount: cause.label.uri.startsWith('did:'),
}
}
// should never happen