fix: connect() doesn't need to be async

This commit is contained in:
Haileyesus
2026-01-29 23:00:50 +03:00
parent dc21fb532a
commit 51b316f69c

View File

@@ -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';