diff --git a/src/mock/filter.js b/src/mock/filter.js index df7a8d4..45a6c57 100644 --- a/src/mock/filter.js +++ b/src/mock/filter.js @@ -1,4 +1,4 @@ -import { filter } from "../utils/filter"; +import { filter } from '../utils/filter'; function generateFilters(points) { return Object.entries(filter).map( diff --git a/src/presenter/trip-presenter.js b/src/presenter/trip-presenter.js index b5f8e78..f020b87 100644 --- a/src/presenter/trip-presenter.js +++ b/src/presenter/trip-presenter.js @@ -33,7 +33,7 @@ export default class TripPresenter { render(this.#listComponent,this.#listContainer); - this.#tripPoint.forEach(point => { + this.#tripPoint.forEach((point) => { this.#renderPoint(point); }); } @@ -78,9 +78,9 @@ export default class TripPresenter { function pointSubmitHandler() { replaceEditToPoint(); - document.removeEventListener('keydown', escKeyDown); + document.removeEventListener('keydown', escKeyDown); } - render(pointComponent, this.#listComponent.element) + render(pointComponent, this.#listComponent.element); } } diff --git a/src/utils/filter.js b/src/utils/filter.js index 076c0dc..44cf33a 100644 --- a/src/utils/filter.js +++ b/src/utils/filter.js @@ -1,4 +1,4 @@ -import { FilterType } from "../const"; +import { FilterType } from '../const'; const filter = { [FilterType.EVERYTHING]: (points) => points, diff --git a/src/view/event-list-empty-view.js b/src/view/event-list-empty-view.js index 451eaec..2af470a 100644 --- a/src/view/event-list-empty-view.js +++ b/src/view/event-list-empty-view.js @@ -1,6 +1,5 @@ -import { extend } from "dayjs"; -import AbstractView from "../framework/view/abstract-view"; -import { createEmptyListPointsTemplate } from "../template/event-list-empty-template"; +import AbstractView from '../framework/view/abstract-view'; +import { createEmptyListPointsTemplate } from '../template/event-list-empty-template'; export default class EventListEmptyView extends AbstractView { get template() {