Once you have changed the domain name in the Salesforce Lightning component, some org might take about 24 hours to update the records inside Salesforce.


The Salesforce Administrator user receives an email once the domain name is set for the org, please click the "Deploy it to all users" button and deploy the domain name to all Salesforce user once the domain name is set for admin ID.


Once the domain name is set for all the Salesforce users in the org, you don't see the message as "A component Error has occurred" in the TT App details screen.