Skip to content

Commit

Permalink
🐞 Fix kastro jsx import processing bug
Browse files Browse the repository at this point in the history
  • Loading branch information
KimlikDAO-bot committed Jan 2, 2025
1 parent d343661 commit a14fc3f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kdjs/preprocess.js
Original file line number Diff line number Diff line change
Expand Up @@ -234,9 +234,9 @@ const processJsx = (file, content, files) => {
files.push(importName.at(0) == "/"
? ensureExtension(importName.slice(1))
: ensureExtension(combine(getDir(file), importName)));
out = lines[i] + "\n\n";
out += lines[i] + "\n";
}
return out + result.join("\n");
return out + "\n" + result.join("\n");
};

/**
Expand Down

0 comments on commit a14fc3f

Please sign in to comment.