Hello,
We don’t include file of the thank you page in our template, we use the default WooCommerce file. So, if you want to change it you need to edit WC template file (copy it into child theme and do the necessary changes).
Regards