Skip to content

Commit

Permalink
Merge pull request #14 from PavelUd/module8-task3
Browse files Browse the repository at this point in the history
  • Loading branch information
keksobot authored May 27, 2024
2 parents dbd147f + e71c1ae commit 18db009
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/view/error-view.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import AbstractView from '../framework/view/abstract-view';

const createErrorTemplate = () => `
<p class="trip-events__msg">
Failed to load latest route information
</p >
`;

export default class ErrorView extends AbstractView {
get template() {
return createErrorTemplate();
}
}

0 comments on commit 18db009

Please sign in to comment.