Skip to content

Commit

Permalink
Правит ошибки билдера
Browse files Browse the repository at this point in the history
  • Loading branch information
AlucardOpp committed Sep 25, 2024
1 parent 7c5975d commit 7cff0ec
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions src/const.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,11 @@ const BLANK_EVENT = {
offers: [],
isFavorite: false,
};
const EDIT_CLASS = 'event--edit';
const FilterType = {
EVERYTHING: 'everything',
FUTURE: 'future',
PRESENT: 'present',
PAST: 'past',
};

export {INPUT_DATE_FORMAT, BLANK_EVENT, FilterType, EDIT_CLASS};
export {INPUT_DATE_FORMAT, BLANK_EVENT, FilterType};
1 change: 0 additions & 1 deletion src/presenter/event-presenter.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import {render, replace, remove} from '../framework/render.js';
import EditEventView from '../view/edit-event-view.js';
import EventsItemView from '../view/events-item-view.js';
import {EDIT_CLASS} from '../const.js';

const Mode = {
DEFAULT: 'DEFAULT',
Expand Down

0 comments on commit 7cff0ec

Please sign in to comment.