From c05a62eddf2b7fc8f7397e805da00e4ecfe315e2 Mon Sep 17 00:00:00 2001 From: Francesco Sansalvadore Date: Mon, 21 Aug 2023 16:56:51 +0300 Subject: [PATCH] update lw archive links with native a tag --- .../www/components/LaunchWeek/8/LWArchive.tsx | 21 ++++++------------- 1 file changed, 6 insertions(+), 15 deletions(-) diff --git a/apps/www/components/LaunchWeek/8/LWArchive.tsx b/apps/www/components/LaunchWeek/8/LWArchive.tsx index 3c3979af0f8..ba4aa6eb336 100644 --- a/apps/www/components/LaunchWeek/8/LWArchive.tsx +++ b/apps/www/components/LaunchWeek/8/LWArchive.tsx @@ -1,17 +1,8 @@ import React from 'react' import { StyledArticleBadge } from './Releases/components' import Image from 'next/image' -import { useRouter } from 'next/router' const LWArchive = () => { - const router = useRouter() - - const handleNavigate = (link: string) => { - if (typeof window === 'undefined') return - window.scrollTo(0, 0) - router.push(link) - } - return (
@@ -22,8 +13,8 @@ const LWArchive = () => {

-
- -
- + )