mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-07-30 02:23:47 +00:00
Update ConnectionModal.tsx
This commit is contained in:
@@ -174,16 +174,6 @@ export default function ConnectionModal({ onClose }: ConnectionModalProps) {
|
|||||||
return available
|
return available
|
||||||
}, [appConfig, detectedPlatform])
|
}, [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 () => {
|
const copySubscriptionLink = async () => {
|
||||||
if (!appConfig?.subscriptionUrl) return
|
if (!appConfig?.subscriptionUrl) return
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user