This commit is contained in:
Rizky 2023-10-18 02:17:16 +00:00
parent eeb32edf77
commit 4f9323bff7
2 changed files with 2 additions and 1 deletions

View File

@ -21,6 +21,7 @@ export const CPOption: FC<CPArgs> = ({ prop, onChange, editCode, reset }) => {
if (prop.meta?.options || prop.meta?.optionsBuilt) {
if (!local.loaded) {
try {
local.loaded = true;
const args = {
...window.exports,
db: p.script.db,

View File

@ -84,7 +84,7 @@ export const ETreeItemAction: FC<{
{resetJSXProp && (
<Tooltip
content="Reset JSX"
content="Generate JSX"
className={cx("text-purple-600 mx-1")}
onClick={async () => {
if (mitem) {