mirror of
https://github.com/siteboon/claudecodeui.git
synced 2026-02-01 14:27:32 +00:00
fix: connect() doesn't need to be async
This commit is contained in:
@@ -34,7 +34,7 @@ const useWebSocketProviderState = () => {
|
||||
};
|
||||
}, []); // Keep dependency array but add proper cleanup
|
||||
|
||||
const connect = async () => {
|
||||
const connect = () => {
|
||||
try {
|
||||
const isPlatform = import.meta.env.VITE_IS_PLATFORM === 'true';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user