Fixed component.locals -> component.local