From cc5b4c7c475e1ddf19b7db91b2a37d16506b4e37 Mon Sep 17 00:00:00 2001 From: Vinyl-Davyl <68241801+Vinyl-Davyl@users.noreply.github.com> Date: Fri, 30 Aug 2024 18:46:39 +0100 Subject: [PATCH] update: development --- src/components/Sidebar.tsx | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/src/components/Sidebar.tsx b/src/components/Sidebar.tsx index ac8158f..d139357 100644 --- a/src/components/Sidebar.tsx +++ b/src/components/Sidebar.tsx @@ -16,10 +16,6 @@ import { BulbOutlined } from "@ant-design/icons"; const Sidebar: React.FC<{ steps: { title: string; link: string }[] }> = ({ steps, }) => { - const handleExternalLink = (url: string) => { - window.open(url, "_blank", "noopener,noreferrer"); - }; - return ( Learning Pathway @@ -43,13 +39,7 @@ const Sidebar: React.FC<{ steps: { title: string; link: string }[] }> = ({ Welcome to the Learning Pathway! Use the sidebar to follow the guide. Open the{" "} - { - e.preventDefault(); - window.open("/", "_blank"); - }} - > + Template Playground {" "} in another tab to experiment as you learn.