@@ -10,6 +10,7 @@ import {
1010 useState ,
1111} from 'react'
1212import { NavigateFunction , useNavigate } from 'react-router-dom'
13+ import { type TcUniNavFn } from 'universal-navigation'
1314import classNames from 'classnames'
1415
1516import { EnvironmentConfig , PageSubheaderPortalId } from '../config'
@@ -26,8 +27,7 @@ import {
2627
2728import UniNavSnippet from './universal-nav-snippet'
2829
29- // eslint-disable-next-line @typescript-eslint/no-explicit-any
30- declare let tcUniNav : any
30+ declare let tcUniNav : TcUniNavFn
3131UniNavSnippet ( EnvironmentConfig . UNIVERSAL_NAV . URL )
3232
3333interface NavigationRequest {
@@ -86,7 +86,7 @@ const Header: FC = () => {
8686 user : profile ? {
8787 handle : profile . handle ,
8888 initials : `${ profile . firstName . charAt ( 0 ) } ${ profile . lastName . charAt ( 0 ) } ` ,
89- photoURL : profile . photoURL ,
89+ photoUrl : profile . photoURL ,
9090 userId : profile . userId ,
9191 } : undefined ,
9292 } ,
@@ -110,7 +110,7 @@ const Header: FC = () => {
110110 navElementId ,
111111 {
112112 toolName : activeToolName ,
113- toolRoute : activeToolRoute ,
113+ toolRoot : activeToolRoute ,
114114 } ,
115115 )
116116 } , [
0 commit comments