's'
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user