message: Plug picker - tidy up Community Insight fallback logic. This also fixes a layout bug when falling back to Bungie descriptions.
diff: @@ -248,8 +248,7 @@ export default function SocketDetailsSelectedPlug({
  <ItemStats stats={stats.map((s) => s.dimStat)} className={styles.itemStats} />
  )}
  - {plugDescriptions.communityInsight &&
  - (plugDescriptions.communityInsight.description ? (
  + {plugDescriptions.communityInsight && (
  <ClarityDescriptions
  communityInsight={plugDescriptions.communityInsight.description}
  className={clsx(styles.modClarityDescription, {
  @@ -257,9 +256,7 @@ export default function SocketDetailsSelectedPlug({
  plugDescriptions.communityInsight.communityOnly,
  })}
  />
  - ) : (
  - plugDescriptions.communityInsight.fallback
  - ))}
  + )}
  {sourceString && <div className={styles.source}>{sourceString}</div>}
  @@ -293,13 +290,6 @@ function buildPlugDescriptions(
  communityInsight: CommunityInsight | undefined
  ) {
  const perkDescriptions = getPerkDescriptions(plugDef, defs);
  - const bungieDescription = (
  - <>
  - {perkDescriptions.map((perkDesc) => (
  - <div key={perkDesc.perkHash}>{perkDesc.description || perkDesc.requirement}</div>
  - ))}
  - </>
  - );
  const showBungieDescription =
  !$featureFlags.clarityDescriptions || descriptionsToDisplay !== 'community';
  @@ -309,10 +299,16 @@ function buildPlugDescriptions(
  $featureFlags.clarityDescriptions && descriptionsToDisplay === 'community';
  return {
  - description: showBungieDescription && bungieDescription,
  - communityInsight: showCommunityDescription && {
  + description: (showBungieDescription || (showCommunityDescriptionOnly && !communityInsight)) && (
  + <>
  + {perkDescriptions.map((perkDesc) => (
  + <div key={perkDesc.perkHash}>{perkDesc.description || perkDesc.requirement}</div>
  + ))}
  + </>
  + ),
  + communityInsight: showCommunityDescription &&
  + communityInsight && {
  description: communityInsight,
  - fallback: showCommunityDescriptionOnly && bungieDescription,
  communityOnly: showCommunityDescriptionOnly,
  },
  };
  