refactor: mark dead exports with TODO, deduplicate field sanitization, fix import placement
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
import { motion } from "framer-motion";
|
||||
import { useCallback, useEffect, useRef, useState } from "react";
|
||||
import { useEventSource } from "@/lib/use-event-source";
|
||||
|
||||
/**
|
||||
* Fixed bottom-right radio player widget — the Next.js port of AtomCMS's
|
||||
@@ -135,8 +136,6 @@ function parseListeners(data: unknown): number | null {
|
||||
return null;
|
||||
}
|
||||
|
||||
import { useEventSource } from "@/lib/use-event-source";
|
||||
|
||||
export default function RadioPlayer() {
|
||||
const audioRef = useRef<HTMLAudioElement | null>(null);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user