This commit is contained in:
Rizky 2024-07-17 21:05:08 +07:00
parent 06a3c9fbdc
commit b1f2dd376b
2 changed files with 2 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -15,7 +15,7 @@ export const createViPassProp = (
arg: Record<string, any> & { children: ReactNode; internal_key: any } arg: Record<string, any> & { children: ReactNode; internal_key: any }
) => { ) => {
const [_, render] = useState({}); const [_, render] = useState({});
const internal_key = arg.internal_key; const internal_key = arg.idx || arg.internal_key;
if (!meta.item.script) { if (!meta.item.script) {
meta.item.script = {}; meta.item.script = {};