This commit is contained in:
eric
2026-03-25 16:18:38 -05:00
parent e764abb32a
commit fe051d390d
160 changed files with 0 additions and 250 deletions

View File

@@ -1,5 +1,4 @@
import React, { createContext, useCallback, useContext, useEffect, useMemo, useState } from 'react'
import { Platform } from 'react-native'
import type { BindPayload } from '@/lib/types'
import { clearBindPayload, loadBindPayload, saveBindPayload } from '@/lib/storage'
@@ -24,11 +23,6 @@ export function BindProvider({ children }: { children: React.ReactNode }) {
})()
}, [])
useEffect(() => {
if (!ready || !bind) return
// 现在仅做 baseUrl/token 的远程控制绑定,不再在 App 内启动 EasyTier 数据面
}, [ready, bind])
const setBind = useCallback(async (p: BindPayload | null) => {
setBindState(p)
if (p) await saveBindPayload(p)