src/hooks/useRadio.ts
Function useRadio
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const useRadio = (playRadio: boolean, audio?: HTMLAudioElement) => {
const [volume, setVolume] = useState<number>(10);
const loadedInitialState = useRef(false);
- Create a ticketCreate a ticket