@@ -63,7 +63,7 @@ export default function Navbar({ sessionId, accessId }: NavbarProps) {
6363 window . addEventListener ( 'scroll' , handleScroll ) ;
6464 handleScroll ( ) ;
6565 return ( ) => window . removeEventListener ( 'scroll' , handleScroll ) ;
66- } , [ ] ) ;
66+ } , [ ] ) ;
6767
6868 useEffect ( ( ) => {
6969 const handleResize = ( ) => {
@@ -130,12 +130,10 @@ export default function Navbar({ sessionId, accessId }: NavbarProps) {
130130
131131 const handleCopy = async ( text : string ) => {
132132 try {
133- // Try modern clipboard API first
134133 await navigator . clipboard . writeText ( text ) ;
135134 setCopied ( text ) ;
136135 setTimeout ( ( ) => setCopied ( null ) , 2000 ) ;
137- } catch ( error ) {
138- // Fallback to older method
136+ } catch {
139137 try {
140138 const textArea = document . createElement ( 'textarea' ) ;
141139 textArea . value = text ;
@@ -214,7 +212,7 @@ export default function Navbar({ sessionId, accessId }: NavbarProps) {
214212
215213 return (
216214 < >
217- { /* Mobile Notification Banner (Bottom - List Mode) */ }
215+ { /* Mobile Notification Banner */ }
218216 { filteredNotifications . length > 0 &&
219217 isMobile &&
220218 notificationMode === 'list' && (
@@ -310,8 +308,8 @@ export default function Navbar({ sessionId, accessId }: NavbarProps) {
310308 < a href = "/" className = "flex items-center space-x-2" >
311309 < TowerControl className = "h-8 w-8 text-blue-400" />
312310 < span className = "text-2xl font-bold bg-gradient-to-r from-blue-400 to-blue-600 bg-clip-text text-transparent" >
313- PFControl{ ' ' }
314- < span className = "text-red-300 font-medium text-md" > Beta</ span >
311+ PFControl
312+ { /* <span className="text-red-300 font-medium text-md">Beta</span> */ }
315313 </ span >
316314 </ a >
317315 </ div >
0 commit comments