diff --git a/apps/webapp/app/components/navigation/SideMenu.tsx b/apps/webapp/app/components/navigation/SideMenu.tsx index e028342868..6c0b93ad8d 100644 --- a/apps/webapp/app/components/navigation/SideMenu.tsx +++ b/apps/webapp/app/components/navigation/SideMenu.tsx @@ -90,34 +90,6 @@ type SideMenuProps = { defaultValue?: FeedbackType; }; -function V2Countdown() { - const [days, setDays] = useState(0); - - useEffect(() => { - const targetDate = new Date("2025-01-31T00:00:00Z"); - - const calculateDays = () => { - const now = new Date(); - const difference = targetDate.getTime() - now.getTime(); - return Math.floor(difference / (1000 * 60 * 60 * 24)); - }; - - const timer = setInterval(() => { - setDays(calculateDays()); - }, 1000 * 60 * 60); // Update every hour - - setDays(calculateDays()); // Initial calculation - - return () => clearInterval(timer); - }, []); - - return ( - - V2 goes offline in {days}d - - ); -} - export function SideMenu({ user, project, organization, organizations }: SideMenuProps) { const borderRef = useRef(null); const [showHeaderDivider, setShowHeaderDivider] = useState(false); @@ -240,30 +212,6 @@ export function SideMenu({ user, project, organization, organizations }: SideMen /> -
- {project.version === "V2" && ( -
- - - This is a v2 project. V2 will be deprecated on January 31, 2025.{" "} - - Learn more - - . - - - Upgrade to v3 - -
- )} -
{isV3Project && isFreeV3User && (