Skip to content
This repository has been archived by the owner on Oct 26, 2024. It is now read-only.

Commit

Permalink
Removing useless content
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaumebriday committed Nov 10, 2020
1 parent 9247bd2 commit c80cb96
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,7 @@ export default class extends Controller {
}

const response = await fetch(this.data.get('url'))
const html = await response.text()

this.remoteContent = html
this.remoteContent = await response.text()
}

popover (element, content) {
Expand Down

0 comments on commit c80cb96

Please sign in to comment.