const fs = require('fs');
let content = fs.readFileSync('subcontracts.js', 'utf8');

content = content.replace(/row\.querySelector\('([^']+)'\)\?\.innerText = /g, "row.querySelector('$1').innerText = ");

fs.writeFileSync('subcontracts.js', content, 'utf8');
console.log('Fixed innerText syntax');
