From 12c487cc3e7b55ce906a96be07f406ef376a6932 Mon Sep 17 00:00:00 2001 From: Echo Date: Tue, 28 Oct 2025 15:02:37 +0100 Subject: [PATCH] [Glitch] Fix props in DisplayName component Port 9c7d09993d8cc1e3b54c4bb8839bcbc3a778b342 to glitch-soc Signed-off-by: Claire --- .../flavours/glitch/components/display_name/no-domain.tsx | 5 ++--- .../flavours/glitch/components/display_name/simple.tsx | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/app/javascript/flavours/glitch/components/display_name/no-domain.tsx b/app/javascript/flavours/glitch/components/display_name/no-domain.tsx index ee6e84050c..530e0a08e0 100644 --- a/app/javascript/flavours/glitch/components/display_name/no-domain.tsx +++ b/app/javascript/flavours/glitch/components/display_name/no-domain.tsx @@ -9,9 +9,8 @@ import { Skeleton } from '../skeleton'; import type { DisplayNameProps } from './index'; export const DisplayNameWithoutDomain: FC< - Omit & - ComponentPropsWithoutRef<'span'> -> = ({ account, className, children, ...props }) => { + Omit & ComponentPropsWithoutRef<'span'> +> = ({ account, className, children, localDomain: _, ...props }) => { return ( & - ComponentPropsWithoutRef<'span'> -> = ({ account, ...props }) => { + Omit & ComponentPropsWithoutRef<'span'> +> = ({ account, localDomain: _, ...props }) => { if (!account) { return null; }