fix: lint errors

This commit is contained in:
Felix Roos 2023-12-26 00:06:59 +01:00
parent 63ae95186b
commit 4c337a5114

View File

@ -1,4 +1,4 @@
import { controls, evalScope, hash2code } from '@strudel.cycles/core';
import { controls, evalScope, hash2code, logger } from '@strudel.cycles/core';
import { settingPatterns } from '../settings.mjs';
import { isTauri } from '../tauri.mjs';
import './Repl.css';
@ -30,7 +30,7 @@ export async function initCode() {
.eq('hash', hash)
.then(({ data, error }) => {
if (error) {
console.warn('failed to load hash', err);
console.warn('failed to load hash', error);
}
if (data.length) {
//console.log('load hash from database', hash);