refactor: dependencies on useCallback

This commit is contained in:
Timothy Z. 2024-09-26 14:59:32 +03:00
parent 9b160a0c6b
commit 0ebdf83c7f

View file

@ -115,7 +115,7 @@ const Settings = () => {
timeout: 25000
});
// Stremio 4 emits not documented event subscribeCalendar
}, [platformName, profile.auth.user._id, platform, toast]);
}, [profile.auth.user._id]);
const exportDataOnClick = React.useCallback(() => {
loadDataExport();
}, []);