migrateEnsureHeaderComponentName
Ensure the header component has a name. Starting ~Sept 15, 2025, up to Nov 4, 2025, Sites created via the "Add Content" flow, had a header component without a name. This resulted in the header not being rendered in the site, but was renderered in the editor. This migration ensures that the header component has a name of "site-header" if it is missing.
Parameters
| Parameter | Type | Default | Notes |
|---|---|---|---|
| siteModel Required | IModel |
Returns
Function defined in packages/common/src/sites/_internal/migrateEnsureHeaderComponentName.ts:14