Skip to content

Commit

Permalink
Шаблонизируй это
Browse files Browse the repository at this point in the history
  • Loading branch information
Phoenix8483 committed Sep 16, 2024
1 parent 3e062e0 commit 536e048
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/view/trip-edit-point-view.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {createElement} from '../render.js';

function createAddPointTemplate(offers) {
const { type, offers: {price} } = offers; //Необходимо деструктурировать!!!!
const { type, offers: {price} } = offers; //Необходимо деструктурировать!!

return (
`<form class="event event--edit" action="#" method="post">
Expand Down

0 comments on commit 536e048

Please sign in to comment.