Skip to content

Commit

Permalink
refactor: remove test code
Browse files Browse the repository at this point in the history
  • Loading branch information
srotsch committed Jun 28, 2023
1 parent 0d2265c commit dd9ce8e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion dist_scripts/scripts/createStaticFiles.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ var createStaticFiles = function () { return __awaiter(void 0, void 0, void 0, f
jsdom_1.JSDOM.fromFile(targetPath).then(function (dom) {
var document = dom.window.document;
var rootEl = document.getElementById("root");
document.title = "test";
(0, config_1.setTitle)(document, item.title);
if (rootEl) {
var textNode = document.createElement("div");
Expand Down
2 changes: 0 additions & 2 deletions scripts/createStaticFiles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,6 @@ const createStaticFiles = async () => {
const document = dom.window.document;
const rootEl = document.getElementById("root");

document.title = "test";

setTitle(document, item.title);

if (rootEl) {
Expand Down

0 comments on commit dd9ce8e

Please sign in to comment.