Skip to content

Commit 41b346c

Browse files
committed
fix(src/components): fix lint
1 parent 2d21a67 commit 41b346c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/components/editor.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ class AppEditor extends Tonic {
6565
try {
6666
await fs.promises.writeFile(projectNode.id, data)
6767
} catch (err) {
68-
console.error(`Unable to write to ${dest}`, err)
68+
console.error(`Unable to write to ${projectNode.id}`, err)
6969
}
7070

7171
app.reloadPreviewWindows()

src/components/project.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ class AppProject extends Tonic {
153153
async mouseup (e) {
154154
const mouseDragged = this.mouseIsDragging
155155
this.resetMouse()
156+
const notifications = document.querySelector('#notifications')
156157

157158
if (mouseDragged) {
158159
this.load()
@@ -307,7 +308,7 @@ class AppProject extends Tonic {
307308
input.setAttribute('spellcheck', 'false')
308309
input.addEventListener('blur', () => {
309310
container.innerHTML = ''
310-
container.textContent = n.writelnode.label
311+
container.textContent = node.label
311312
})
312313

313314
container.innerHTML = ''

0 commit comments

Comments
 (0)