chore: Fix js liner complains
fix(header): Fix error thrown becasue no state was given to the link ui-ref