Returns the branding rule assigned to the current page's config (via PageBranding), or null when the page uses the agency's default branding.
PageBranding
null
const brandingRule = usePageBrandingRule();const logo = brandingRule?.logo?.src || agency.logo; Copy
const brandingRule = usePageBrandingRule();const logo = brandingRule?.logo?.src || agency.logo;
Returns the branding rule assigned to the current page's config (via
PageBranding), ornullwhen the page uses the agency's default branding.