Hi and thanks for answering me!
No, this is the only call "createVariable()" that i'm doing in the entire code.
I now realized the problem could be in the variable section toolbox! This is how i declared it before:
{
kind: "category",
name: "Variables",
colour: "#A55B80",
contents: columnNames.map((name) => ({
kind: "block",
type: "variables_get",
fields: {
VAR: name,
},
})),
},
and this is how it is now
{
kind: "category",
name: "Variables",
colour: "#A55B80",
contents: [
{
kind: "block",
type: "variables_get",
},
],
},
I still get an "item" variable that i don't know where it comes from but this is definitely an improvment! Any idea about the "item" variable? Thank you so much!