storybook-addon-sdc 0.24.8 → 0.24.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/preset.js +1 -1
- package/package.json +1 -1
package/dist/preset.js
CHANGED
|
@@ -896,9 +896,9 @@ export function renderInline(template, context) {
|
|
|
896
896
|
if (!name) {
|
|
897
897
|
name = '_sdc_inline_' + (_sdcInlineSeq++);
|
|
898
898
|
_sdcInlineNames[template] = name;
|
|
899
|
-
loader.setTemplate(name, template);
|
|
900
899
|
}
|
|
901
900
|
try {
|
|
901
|
+
loader.setTemplate(name, template);
|
|
902
902
|
return _sdcIconEnv.render(name, context || {});
|
|
903
903
|
} catch (e) {
|
|
904
904
|
console.error('[SDC] renderInline error:', e);
|