mirror of
https://codeberg.org/uzu/strudel
synced 2026-07-13 14:26:58 -04:00
allow _base prop for samples loader
This commit is contained in:
@@ -93,7 +93,7 @@ export const loadGithubSamples = async (path, nameFn) => {
|
||||
*
|
||||
*/
|
||||
|
||||
export const samples = (sampleMap, baseUrl = '') => {
|
||||
export const samples = (sampleMap, baseUrl = sampleMap._base) => {
|
||||
sampleCache.current = {
|
||||
...sampleCache.current,
|
||||
...Object.fromEntries(
|
||||
|
||||
Reference in New Issue
Block a user