in src/config/config.ts [71:76]
export function discardConfigChanges(templateId: TemplateId): void {
localStorage.removeItem(localStorageConfigKey(templateId));
if (getActiveTemplateId() === templateId) {
activeConfig$.next(getConfig());
}
}