fix LiveEditor

pull/880/head
Tuğçe Küçükoğlu 2021-01-19 11:41:33 +03:00
parent ecdc8100e2
commit 5c35abb9d0
1 changed files with 1 additions and 2 deletions

View File

@ -131,8 +131,7 @@ ${style}`
} }
if(name !== 'FloatLabelDemo') { if(name !== 'FloatLabelDemo') {
element += `import ${name.slice(0, -4)} from "primevue/${name.slice(0, -4).toLowerCase()}"; importElement += `import ${name.slice(0, -4)} from "primevue/${name.slice(0, -4).toLowerCase()}";`;
`;
} }
if(name === 'ToastDemo'){ if(name === 'ToastDemo'){