load imported samples directly in prebake

This commit is contained in:
Felix Roos 2023-12-27 12:45:27 +01:00
parent e2a082f748
commit 8bde87246b
3 changed files with 3 additions and 3 deletions

View file

@ -21,7 +21,6 @@ import {
import { Header } from './Header';
import Loader from './Loader';
import './Repl.css';
import { registerSamplesFromDB, userSamplesDBConfig } from './idbutils.mjs';
import { Panel } from './panel/Panel';
import { prebake } from './prebake.mjs';
import { themes } from './themes.mjs';
@ -117,7 +116,6 @@ export function Repl({ embedded = false }) {
msg = `A random code snippet named "${name}" has been loaded!`;
}
//registers samples that have been saved to the index DB
registerSamplesFromDB(userSamplesDBConfig);
logger(`Welcome to Strudel! ${msg} Press play or hit ctrl+enter to run it!`, 'highlight');
setPending(false);
});