diff --git a/core/loader/src/replaceSource.ts b/core/loader/src/replaceSource.ts index e8a4d47a0..2c59c59cf 100644 --- a/core/loader/src/replaceSource.ts +++ b/core/loader/src/replaceSource.ts @@ -30,7 +30,7 @@ ${contexts ) .join('\n')} `; - const storeConst = `const store = "${hashKey}";\n`; + const storeConst = `const store = ${hashKey};\n`; let loadStories = ` const assignProps = (obj, { storyName, story, ...props}) => { //preserve component and subcomponents as strings