diff --git a/src/components/EventEdit.tsx b/src/components/EventEdit.tsx index a49d865..895ed86 100644 --- a/src/components/EventEdit.tsx +++ b/src/components/EventEdit.tsx @@ -33,7 +33,7 @@ import * as EteSync from 'etesync'; import { getCurrentTimezone } from '../helpers'; import { EventType, timezoneLoadFromName } from '../pim-types'; -import RRuleEteSync, { RRuleOptions } from '../widgets/RRule'; +import RRule, { RRuleOptions } from '../widgets/RRule'; interface PropsType { @@ -357,8 +357,7 @@ class EventEdit extends React.PureComponent { label="Recurring" /> - {this.state.rruleOptions && - diff --git a/src/widgets/RRule.tsx b/src/widgets/RRule.tsx index e89de14..902f0a6 100644 --- a/src/widgets/RRule.tsx +++ b/src/widgets/RRule.tsx @@ -104,7 +104,7 @@ const styles = { multiSelect: { minWidth: 120, maxWidth: '100%' }, width: { width: 120 }, }; -export default function RRuleEteSync(props: PropsType) { +export default function RRule(props: PropsType) { const options = props.rrule; function updateRule(newOptions: Partial): void { const updatedOptions = { ...options, ...newOptions };