import React, { useEffect } from 'react'; import cn from 'classnames'; import { Switch } from 'antd'; import { useStore } from 'App/mstore'; import { observer } from 'mobx-react-lite'; import withPageTitle from 'HOCs/withPageTitle'; import stl from './notifications.module.css'; function Notifications() { const { weeklyReportStore } = useStore(); useEffect(() => { void weeklyReportStore.fetchReport(); }, []); const onChange = () => { const newValue = !weeklyReportStore.weeklyReport; void weeklyReportStore.fetchEditReport(newValue); }; return (

Weekly Report

Weekly project summary
Receive weekly report for each project on email.
{weeklyReportStore.weeklyReport ? 'Yes' : 'No'}
); } export default withPageTitle('Weekly Report - OpenReplay Preferences')(observer(Notifications));