mirror of
https://github.com/eliasstepanik/strudel-docker.git
synced 2026-01-25 04:28:30 +00:00
allow _base prop for samples loader
This commit is contained in:
parent
ecd93c9a92
commit
ad62ccd8c7
@ -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 = {
|
||||||
...sampleCache.current,
|
...sampleCache.current,
|
||||||
...Object.fromEntries(
|
...Object.fromEntries(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user