Resolve "Remove reliance on useLocation in IV and TV" Closes #525 See merge request inject/frontend!434