From 6312fe8e83f62492541d9f71b9f570d451e0724b Mon Sep 17 00:00:00 2001 From: akhisud3195 Date: Tue, 15 Apr 2025 13:02:43 +0400 Subject: [PATCH] Hide tour option in projects page --- .../projects/layout/components/sidebar.tsx | 40 ++++++++++--------- 1 file changed, 21 insertions(+), 19 deletions(-) diff --git a/apps/rowboat/app/projects/layout/components/sidebar.tsx b/apps/rowboat/app/projects/layout/components/sidebar.tsx index 858dfa6e..9854316f 100644 --- a/apps/rowboat/app/projects/layout/components/sidebar.tsx +++ b/apps/rowboat/app/projects/layout/components/sidebar.tsx @@ -17,7 +17,7 @@ import { } from "lucide-react"; import { getProjectConfig } from "@/app/actions/project_actions"; import { useTheme } from "@/app/providers/theme-provider"; -import { USE_TESTING_FEATURE } from '@/app/lib/feature_flags'; +import { USE_TESTING_FEATURE, USE_PRODUCT_TOUR } from '@/app/lib/feature_flags'; interface SidebarProps { projectId: string; @@ -181,24 +181,26 @@ export default function Sidebar({ projectId, useRag, useAuth, collapsed = false, {/* Theme and Auth Controls */}
- - - + {USE_PRODUCT_TOUR && !isProjectsRoute && ( + + + + )}