diff --git a/packages/web/src/routes/index.tsx b/packages/web/src/routes/index.tsx index 730f8038..5631c6e7 100644 --- a/packages/web/src/routes/index.tsx +++ b/packages/web/src/routes/index.tsx @@ -6,10 +6,7 @@ import { authClient } from "@/lib/auth-client" import { useAccount } from "jazz-tools/react" import { ViewerAccount, type SavedUrl } from "@/lib/jazz/schema" import { JazzProvider } from "@/lib/jazz/provider" -import { Link2, Plus, Trash2, ExternalLink, Video, Settings, LogOut, Layers } from "lucide-react" - -// Feature flag: only this email can access stream features -const STREAM_ENABLED_EMAIL = "nikita@nikiv.dev" +import { Link2, Plus, Trash2, ExternalLink, Settings, LogOut, Layers } from "lucide-react" function LandingPage() { return ( @@ -63,8 +60,6 @@ function Dashboard() { const [newTitle, setNewTitle] = useState("") const [isAdding, setIsAdding] = useState(false) - const canAccessStreams = session?.user?.email === STREAM_ENABLED_EMAIL - const root = me.$isLoaded ? me.root : null const urlList = root?.$isLoaded ? root.savedUrls : null const savedUrls: SavedUrl[] = urlList?.$isLoaded ? [...urlList] : [] @@ -123,33 +118,6 @@ function Dashboard() { - {/* Stream Setup - Only for nikita@nikiv.dev */} - {canAccessStreams && ( -
-
-
-

- Manage your live stream and archive settings. -

-
- - View Stream - - - Stream Settings - -
-
- )} - {/* Browser Sessions */}
@@ -174,14 +142,13 @@ function Dashboard() {

Saved Links

- +
{isAdding && (