diff --git a/src/view/edit-point-view.js b/src/view/edit-point-view.js index 680d11b..309ed82 100644 --- a/src/view/edit-point-view.js +++ b/src/view/edit-point-view.js @@ -154,10 +154,10 @@ export default class EditPointView extends AbstractView { #submitHandler = (evt) => { evt.preventDefault(); this.#handleSubmit(); - } + }; #clickHandler = (evt) => { evt.preventDefault(); this.#handleClick(); - } + }; } diff --git a/src/view/point-view.js b/src/view/point-view.js index 803a407..9a181b3 100644 --- a/src/view/point-view.js +++ b/src/view/point-view.js @@ -87,5 +87,5 @@ export default class ListPointView extends AbstractView { #clickHandler = (evt) => { evt.preventDefault(); this.#handleClick(); - } + }; }