diff --git a/grafana-plugin/src/containers/RotationForm/RotationForm.tsx b/grafana-plugin/src/containers/RotationForm/RotationForm.tsx index d039291c6b..7f8401278b 100644 --- a/grafana-plugin/src/containers/RotationForm/RotationForm.tsx +++ b/grafana-plugin/src/containers/RotationForm/RotationForm.tsx @@ -66,7 +66,6 @@ import { GRAFANA_HEADER_HEIGHT, GRAFANA_LEGACY_SIDEBAR_WIDTH } from 'utils/const import { useDebouncedCallback } from 'utils/hooks'; import styles from './RotationForm.module.css'; -import { toJS } from 'mobx'; const cx = cn.bind(styles); diff --git a/grafana-plugin/src/containers/RotationForm/parts/DateTimePicker.tsx b/grafana-plugin/src/containers/RotationForm/parts/DateTimePicker.tsx index 66fb0a4586..f6bf013c57 100644 --- a/grafana-plugin/src/containers/RotationForm/parts/DateTimePicker.tsx +++ b/grafana-plugin/src/containers/RotationForm/parts/DateTimePicker.tsx @@ -35,7 +35,6 @@ export const DateTimePicker = observer( const newDate = dayjs(value) .utcOffset(selectedTimezoneOffset) .set('date', 1) - .set('months', 0) .set('months', value.getMonth()) .set('date', value.getDate()) .set('hours', propValue.hour())