CT/T-Embleme ergänzt, kein Verbindungshinweis beim ersten Laden
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
54168ae763
commit
9d63799c48
4 files changed
+3
-2
No files matched your search
@@ -12,7 +12,8 @@ export function getSocket() {
|
||||
export function useMatch(matchId, token) {
|
||||
const [state, setState] = useState(null);
|
||||
const [error, setError] = useState(null);
|
||||
const [connected, setConnected] = useState(false);
|
||||
// null = Verbindung wird erstmals aufgebaut (kein Hinweis), false = Verbindung abgerissen
|
||||
const [connected, setConnected] = useState(null);
|
||||
const tokenRef = useRef(token);
|
||||
tokenRef.current = token;
|
||||
|
||||
|
||||
Reference in new issue
Block a user