Telegram: https://t.me/+DOylgFv1jyJlNzM0
Why this matters
In frontend/src/components/stream-creation/StreamCreationWizard.tsx:
const [timeout, setTimeoutError] = useState(false);
Naming the state variable timeout shadows the global timeout/relatives and reads confusingly next to the setTimeout calls in the same component (startPolling uses setTimeout). The setter is even named setTimeoutError, implying the intended state name was timeoutError/isTimeout.
Acceptance criteria
Files to touch
frontend/src/components/stream-creation/StreamCreationWizard.tsx
Out of scope
Telegram: https://t.me/+DOylgFv1jyJlNzM0
Why this matters
In
frontend/src/components/stream-creation/StreamCreationWizard.tsx:Naming the state variable
timeoutshadows the globaltimeout/relatives and reads confusingly next to thesetTimeoutcalls in the same component (startPollingusessetTimeout). The setter is even namedsetTimeoutError, implying the intended state name wastimeoutError/isTimeout.Acceptance criteria
isTimeout/timeoutError(matching the setter){timeout ? ... : ...}JSX branches)Files to touch
frontend/src/components/stream-creation/StreamCreationWizard.tsxOut of scope