add native method

This commit is contained in:
2025-05-14 08:53:58 +07:00
parent 12a8c74c9b
commit 9dceba7fba
3 changed files with 81 additions and 22 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ const useSocketStore = create<SocketState>()(
host: "http://localhost",
port: 3443,
status: false,
connectionType: "FireflyPSLocal",
connectionType: "Native",
setHost: (host: string) => set({ host }),
setConnectionType: (connectionType: string) => set({ connectionType }),
setPort: (port: number) => set({ port }),