Skip to content

Commit

Permalink
fix issue with createLoaderWidget flag
Browse files Browse the repository at this point in the history
  • Loading branch information
wpdas committed May 8, 2024
1 parent 5a8bd47 commit ed61d48
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 4 additions & 0 deletions lib/actions/createSuspenseWidget.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ const createSuspenseWidget = (opts) => {
// console.log(config);
// console.log(opts);

if (!config?.options?.createLoaderWidget) {
return;
}

// Configurable: Cria somente se "createLoaderWidget" for true
if (config.options.createLoaderWidget) {
const account =
Expand Down
4 changes: 0 additions & 4 deletions lib/actions/handleNames.js
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,6 @@ const handleNamesForChangedFile = (
previousTakenName = [],
) => {
// reset_name_counter();
// let tempBundle = "";
// Lista de nomes de exports já usados em toda a aplicação
const takenNames = [...previousTakenName];

Expand Down Expand Up @@ -315,9 +314,6 @@ const handleNamesForChangedFile = (
// Adiciona os exports para o esquema do arquivo
fileSchemas[changedFileSchemaIndex].exports = fileExportsObj;

// tempBundle += fileContent;
// });

return fileSchemas;
};

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "alem",
"description": "Create web3 applications for NEAR BOS with a focus on performance and friendly development.",
"version": "1.1.0",
"version": "1.1.1",
"main": "main.js",
"types": "index.d.ts",
"author": "Wenderson Pires - wendersonpires.near",
Expand Down

0 comments on commit ed61d48

Please sign in to comment.