diff --git a/src/components/layout/header/internal/Activity.tsx b/src/components/layout/header/internal/Activity.tsx index 4d1ffd0a85..633d103751 100644 --- a/src/components/layout/header/internal/Activity.tsx +++ b/src/components/layout/header/internal/Activity.tsx @@ -61,7 +61,7 @@ const appLabels: { [app: string]: string } = { cmusic: 'cmusic', } // autocorrect: true -export function Activity() { +export const Activity = memo(() => { const [isEnabled, setIsEnabled] = useState(true) const activity = useActivity() @@ -161,7 +161,8 @@ export function Activity() { ) -} +}) +Activity.displayName = 'Activity' const cMusicProps = { processName: 'cmusic' } const TriggerComponent = memo<{ processName: string