@@ -116,51 +116,51 @@ export const MainSection = ({
116116 }
117117 : undefined ;
118118
119- return ( [
120- myFeed ,
121- {
122- title : 'Following' ,
123- // this path can be opened on extension so it purposly
124- // is not using webappUrl so it gets selected
125- path : '/following' ,
126- action : ( ) => onNavTabClick ?. ( OtherFeedPage . Following ) ,
127- requiresLogin : true ,
128- icon : ( active : boolean ) => (
129- < ListIcon Icon = { ( ) => < SquadIcon secondary = { active } /> } />
130- ) ,
131- } ,
132- {
133- icon : ( active : boolean ) => (
134- < ListIcon Icon = { ( ) => < HotIcon secondary = { active } /> } />
135- ) ,
136- title : 'Explore' ,
137- path : '/posts ' ,
138- action : ( ) => onNavTabClick ?. ( OtherFeedPage . Explore ) ,
139- } ,
140- {
141- icon : ( active : boolean ) => (
142- < ListIcon Icon = { ( ) => < EyeIcon secondary = { active } /> } />
143- ) ,
144- title : 'History' ,
145- path : ` ${ webappUrl } history` ,
146- isForcedLink : true ,
147- requiresLogin : true ,
148- } ,
149- {
150- icon : ( active : boolean ) => (
151- < ListIcon Icon = { ( ) => < TerminalIcon secondary = { active } /> } />
152- ) ,
153- title : 'Agentic Hub' ,
154- path : ` ${ webappUrl } agents` ,
155- isForcedLink : true ,
156- requiresLogin : true ,
157- } ,
158- gameCenter ,
159- yearInReview ,
160- plusButton ,
161- ] as ( SidebarMenuItem | undefined ) [ ] ) . filter (
162- ( item ) : item is SidebarMenuItem => ! ! item ,
163- ) ;
119+ return (
120+ [
121+ myFeed ,
122+ {
123+ title : 'Following' ,
124+ // this path can be opened on extension so it purposly
125+ // is not using webappUrl so it gets selected
126+ path : '/following' ,
127+ action : ( ) => onNavTabClick ?. ( OtherFeedPage . Following ) ,
128+ requiresLogin : true ,
129+ icon : ( active : boolean ) => (
130+ < ListIcon Icon = { ( ) => < SquadIcon secondary = { active } /> } />
131+ ) ,
132+ } ,
133+ {
134+ icon : ( active : boolean ) => (
135+ < ListIcon Icon = { ( ) => < HotIcon secondary = { active } /> } />
136+ ) ,
137+ title : 'Explore ' ,
138+ path : '/posts' ,
139+ action : ( ) => onNavTabClick ?. ( OtherFeedPage . Explore ) ,
140+ } ,
141+ {
142+ icon : ( active : boolean ) => (
143+ < ListIcon Icon = { ( ) => < EyeIcon secondary = { active } /> } />
144+ ) ,
145+ title : 'History' ,
146+ path : ` ${ webappUrl } history` ,
147+ isForcedLink : true ,
148+ requiresLogin : true ,
149+ } ,
150+ {
151+ icon : ( active : boolean ) => (
152+ < ListIcon Icon = { ( ) => < TerminalIcon secondary = { active } /> } />
153+ ) ,
154+ title : 'Agentic Hub' ,
155+ path : ` ${ webappUrl } agents` ,
156+ isForcedLink : true ,
157+ requiresLogin : true ,
158+ } ,
159+ gameCenter ,
160+ yearInReview ,
161+ plusButton ,
162+ ] as ( SidebarMenuItem | undefined ) [ ]
163+ ) . filter ( ( item ) : item is SidebarMenuItem => ! ! item ) ;
164164 } , [
165165 ctaCopy ,
166166 isCustomDefaultFeed ,
0 commit comments