Skip to content

Commit

Permalink
update: development
Browse files Browse the repository at this point in the history
Signed-off-by: Vinyl-Davyl <[email protected]>
  • Loading branch information
Vinyl-Davyl committed Aug 30, 2024
1 parent c2b14e8 commit 23a3696
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions src/components/Sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
<SidebarContainer>
<SidebarTitle>Learning Pathway</SidebarTitle>
Expand All @@ -43,13 +39,7 @@ const Sidebar: React.FC<{ steps: { title: string; link: string }[] }> = ({
<HelperText>
Welcome to the Learning Pathway! Use the sidebar to follow the guide.
Open the{" "}
<Link
to="/"
onClick={(e) => {
e.preventDefault();
window.open("/", "_blank");
}}
>
<Link to="/" target="_blank" rel="noopener noreferrer">
Template Playground
</Link>{" "}
in another tab to experiment as you learn.
Expand Down

0 comments on commit 23a3696

Please sign in to comment.