Fix lint issues

This commit is contained in:
TomekR 2022-11-17 12:46:59 +00:00
parent 63ba29f38a
commit b15e886383

View file

@ -77,13 +77,13 @@ const Settings = () => {
// TODO // TODO
}, []); }, []);
const subscribeCalendarOnClick = React.useCallback(() => { const subscribeCalendarOnClick = React.useCallback(() => {
const url = `webcal://www.strem.io/calendar/${profile.auth.user._id}.ics` const url = `webcal://www.strem.io/calendar/${profile.auth.user._id}.ics`;
window.open(url); window.open(url);
toast.show({ toast.show({
type: 'success', type: 'success',
title: 'Calendar has been added to your default caldendar app', title: 'Calendar has been added to your default caldendar app',
timeout: 25000 timeout: 25000
}) });
//Stremio 4 emits not documented event subscribeCalendar //Stremio 4 emits not documented event subscribeCalendar
}, []); }, []);
const exportDataOnClick = React.useCallback(() => { const exportDataOnClick = React.useCallback(() => {