mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-04-22 00:34:43 +01:00
fix: issues listed in pr
This commit is contained in:
@@ -50,15 +50,6 @@ export const JellyfinProvider: React.FC<{ children: ReactNode }> = ({
|
||||
const [jellyfin, setJellyfin] = useState<Jellyfin | undefined>(undefined);
|
||||
const [deviceId, setDeviceId] = useState<string | undefined>(undefined);
|
||||
|
||||
useEffect(() => {
|
||||
async () => {
|
||||
const servers = jellyfin?.discovery.getRecommendedServerCandidates(
|
||||
"demo.jellyfin.org/stable"
|
||||
);
|
||||
console.log(servers);
|
||||
};
|
||||
}, [jellyfin]);
|
||||
|
||||
useEffect(() => {
|
||||
(async () => {
|
||||
const id = getOrSetDeviceId();
|
||||
|
||||
Reference in New Issue
Block a user