Skip to content

Commit

Permalink
fix(src/components): fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jwerle committed Mar 18, 2024
1 parent 2d21a67 commit 41b346c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class AppEditor extends Tonic {
try {
await fs.promises.writeFile(projectNode.id, data)
} catch (err) {
console.error(`Unable to write to ${dest}`, err)
console.error(`Unable to write to ${projectNode.id}`, err)
}

app.reloadPreviewWindows()
Expand Down
3 changes: 2 additions & 1 deletion src/components/project.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ class AppProject extends Tonic {
async mouseup (e) {
const mouseDragged = this.mouseIsDragging
this.resetMouse()
const notifications = document.querySelector('#notifications')

if (mouseDragged) {
this.load()
Expand Down Expand Up @@ -307,7 +308,7 @@ class AppProject extends Tonic {
input.setAttribute('spellcheck', 'false')
input.addEventListener('blur', () => {
container.innerHTML = ''
container.textContent = n.writelnode.label
container.textContent = node.label
})

container.innerHTML = ''
Expand Down

0 comments on commit 41b346c

Please sign in to comment.