mirror of
https://github.com/eliasstepanik/strudel-docker.git
synced 2026-01-27 05:28:41 +00:00
fix: lint errors
This commit is contained in:
parent
63ae95186b
commit
4c337a5114
@ -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 { settingPatterns } from '../settings.mjs';
|
||||||
import { isTauri } from '../tauri.mjs';
|
import { isTauri } from '../tauri.mjs';
|
||||||
import './Repl.css';
|
import './Repl.css';
|
||||||
@ -30,7 +30,7 @@ export async function initCode() {
|
|||||||
.eq('hash', hash)
|
.eq('hash', hash)
|
||||||
.then(({ data, error }) => {
|
.then(({ data, error }) => {
|
||||||
if (error) {
|
if (error) {
|
||||||
console.warn('failed to load hash', err);
|
console.warn('failed to load hash', error);
|
||||||
}
|
}
|
||||||
if (data.length) {
|
if (data.length) {
|
||||||
//console.log('load hash from database', hash);
|
//console.log('load hash from database', hash);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user