removed unessecary change

This commit is contained in:
Jade Rowland 2023-12-04 19:20:28 -05:00
parent 34c44a29c6
commit 8146725f89

View File

@ -209,15 +209,14 @@ export const samples = async (sampleMap, baseUrl = sampleMap._base || '', option
const { prebake, tag } = options;
processSampleMap(
sampleMap,
(key, value) => {
return registerSound(key, (t, hapValue, onended) => onTriggerSample(t, hapValue, onended, value), {
(key, value) =>
registerSound(key, (t, hapValue, onended) => onTriggerSample(t, hapValue, onended, value), {
type: 'sample',
samples: value,
baseUrl,
prebake,
tag,
});
},
}),
baseUrl,
);
};