Lock commit reference in jsx dep.