Skip to content
This repository was archived by the owner on Aug 11, 2021. It is now read-only.

Commit 752968d

Browse files
committed
Fix imports after moving
1 parent 140e237 commit 752968d

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

containers/autoReply/AutoReplyForm/AutoReplyForm.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ import StartDayOfMonthField from './fields/StartDayOfMonthField';
1313
import EndDayOfMonthField from './fields/EndDayOfMonthField';
1414
import StartDayOfWeekField from './fields/StartDayOfWeekField';
1515
import EndDayOfWeekField from './fields/EndDayOfWeekField';
16-
import { AutoReplyDuration, DAY_MILLISECONDS } from '../utils';
16+
import { DAY_MILLISECONDS } from '../utils';
17+
import { AutoReplyDuration } from 'proton-shared/lib/constants';
1718

1819
const AutoReplyForm = ({ model, updateModel }) => {
1920
if (model.duration === AutoReplyDuration.FIXED) {

containers/autoReply/AutoReplyTemplate.js

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,9 @@ import { c } from 'ttag';
33
import PropTypes from 'prop-types';
44
import { Button } from 'react-components';
55
import moment from 'moment';
6-
import {
7-
getDaysOfMonthOptions,
8-
getDurationOptions,
9-
AutoReplyDuration,
10-
DAY_MILLISECONDS,
11-
getTimeZoneOptions
12-
} from './utils';
6+
import { getDaysOfMonthOptions, getDurationOptions, DAY_MILLISECONDS, getTimeZoneOptions } from './utils';
137
import InfoLine from './InfoLine';
8+
import { AutoReplyDuration } from 'proton-shared/lib/constants';
149

1510
const AutoReplyTemplate = ({ autoresponder, onEdit }) => {
1611
const durationLabel = getDurationOptions().find(({ value }) => value === autoresponder.Repeat).text;

0 commit comments

Comments
 (0)