Update ConnectionModal.tsx

This commit is contained in:
Egor
2026-01-20 04:48:35 +03:00
committed by GitHub
parent 0054e674fd
commit 706b2b34f7

View File

@@ -174,16 +174,6 @@ export default function ConnectionModal({ onClose }: ConnectionModalProps) {
return available
}, [appConfig, detectedPlatform])
const allApps = useMemo(() => {
if (!appConfig?.platforms) return []
const result: AppInfo[] = []
for (const platform of availablePlatforms) {
const apps = appConfig.platforms[platform]
if (apps?.length) result.push(...apps)
}
return result
}, [appConfig, availablePlatforms])
const copySubscriptionLink = async () => {
if (!appConfig?.subscriptionUrl) return
try {