mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-01-18 17:18:11 +00:00
fix: correct useSettings destructuring in ChromecastControls
This commit is contained in:
@@ -83,7 +83,7 @@ export default function ChromecastControls({
|
||||
const api = useAtomValue(apiAtom);
|
||||
const user = useAtomValue(userAtom);
|
||||
|
||||
const [settings] = useSettings();
|
||||
const { settings } = useSettings();
|
||||
|
||||
const [currentTime, setCurrentTime] = useState(0);
|
||||
const [remainingTime, setRemainingTime] = useState(Infinity);
|
||||
|
||||
Reference in New Issue
Block a user