refactor: add profile.settings to dependency array

This commit is contained in:
Timothy Z. 2024-10-24 15:38:12 +03:00
parent d32782b68b
commit ada66b95df

View file

@ -67,7 +67,7 @@ const useStreamingServerUrls = () => {
}
}
});
}, []);
}, [profile.settings]);
const reloadServer = useCallback(() => {
core.transport.dispatch({
action: 'StreamingServer',