chg index.js
chg to component