diff --git a/src/components/moderation/ReportDialog/index.tsx b/src/components/moderation/ReportDialog/index.tsx index a2872a5da8..f847a9d490 100644 --- a/src/components/moderation/ReportDialog/index.tsx +++ b/src/components/moderation/ReportDialog/index.tsx @@ -48,7 +48,7 @@ export function ReportDialog( return ( - {subject && false ? : } + {subject ? : } ) } @@ -174,17 +174,19 @@ function Inner(props: ReportDialogProps) { activeIndex1={state.activeStepIndex1} /> {isLoading ? ( - - + + + + + + {/* Here to capture focus for a hot sec to prevent flash */} ) : labelersLoadError || !allLabelers ? ( - - - Something went wrong, please try again. - - + + Something went wrong, please try again. + ) : ( <> {state.selectedOption ? ( @@ -464,6 +466,22 @@ function OptionCard({ ) } +function OptionCardSkeleton() { + const t = useTheme() + return ( + + ) +} + function LabelerCard({ labeler, onSelect,