Skip to content

Commit 9b9d6c2

Browse files
committed
getString
1 parent 1881f2e commit 9b9d6c2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export function compileTemplate() {
2020

2121
export function render() {
2222
const { name, props } = JSON.parse(Host.inputString())
23-
const code = Var.get(`template-${name}`)
23+
const code = Var.getString(`template-${name}`)
2424
let view = reactTools.transform(code, {}) + '; return App'
2525
let [globalKeys, globalRefs] = getGlobals()
2626
globalKeys.push('React')

0 commit comments

Comments
 (0)