From 4c337a5114dc4a108650c665c2a2d82291b836fb Mon Sep 17 00:00:00 2001 From: Felix Roos Date: Tue, 26 Dec 2023 00:06:59 +0100 Subject: [PATCH] fix: lint errors --- website/src/repl/util.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/src/repl/util.mjs b/website/src/repl/util.mjs index ba459a1f..2b93b619 100644 --- a/website/src/repl/util.mjs +++ b/website/src/repl/util.mjs @@ -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);