A decentralized music tracking and discovery platform built on AT Protocol 🎵

[web] clean commented codes

-43
-43
apps/web/src/layouts/Main.tsx
··· 49 49 text-decoration: underline; 50 50 } 51 51 `; 52 - /* 53 - const Text = styled.span` 54 - color: #ff2876; 55 - font-size: 13px; 56 - cursor: pointer; 57 - 58 - &:hover { 59 - text-decoration: underline; 60 - } 61 - */ 62 52 63 53 export type MainProps = { 64 54 children: React.ReactNode; ··· 119 109 return; 120 110 } 121 111 122 - /* const response = await fetch(`${API_URL}/login`, { 123 - method: "POST", 124 - headers: { 125 - "Content-Type": "application/json", 126 - }, 127 - body: JSON.stringify({ handle }), 128 - }); 129 - 130 - const redirectUrl = await response.text(); 131 - if (redirectUrl?.startsWith("Invalid")) { 132 - toaster.negative("Invalid Bluesky handle", {}); 133 - return; 134 - }*/ 135 - 136 - // window.location.href = `${API_URL}/login?handle=${handle}`; 137 - 138 112 if (API_URL.includes("localhost")) { 139 113 window.location.href = `${API_URL}/login?handle=${handle}`; 140 114 return; ··· 142 116 143 117 window.location.href = `https://rocksky.pages.dev/loading?handle=${handle}`; 144 118 }; 145 - 146 - /* 147 - const displaySurvey = () => { 148 - Object.keys(localStorage) 149 - .filter((key) => key.startsWith("seenSurvey")) 150 - .reverse() 151 - .forEach((key) => localStorage.removeItem(key)); 152 - }; 153 - */ 154 119 155 120 return ( 156 121 <Container className="bg-[var(--color-background)] text-[var(--color-text)]"> ··· 288 253 > 289 254 API Docs 290 255 </Link> 291 - {/* 292 - <Text 293 - className="mr-[10px] !text-[var(--color-primary)]" 294 - onClick={displaySurvey} 295 - > 296 - Feedback 297 - </Text> 298 - */} 299 256 300 257 <Link 301 258 href="https://discord.gg/EVcBy2fVa3"