From 6e451ef5cf923962e168485f0d9c6a861fc56b6a Mon Sep 17 00:00:00 2001 From: Kamran Ahmed Date: Fri, 10 Dec 2021 00:52:40 +0100 Subject: [PATCH] Add JavaScript and VCS content and fix rendering issue --- components/roadmap/content-drawer.tsx | 13 ++-- .../content/103-javascript/readme.md | 9 ++- .../100-basic-usage-of-git.md | 8 +- .../104-version-control-systems/readme.md | 8 +- .../100-react-js/readme.md | 2 +- content/roadmaps/100-frontend/resources.md | 77 +------------------ lib/renderer/utils.ts | 18 +++++ 7 files changed, 50 insertions(+), 85 deletions(-) diff --git a/components/roadmap/content-drawer.tsx b/components/roadmap/content-drawer.tsx index 0c3742f4b..60443ea68 100644 --- a/components/roadmap/content-drawer.tsx +++ b/components/roadmap/content-drawer.tsx @@ -3,6 +3,7 @@ import { RemoveScroll } from 'react-remove-scroll'; import { RoadmapType } from '../../lib/roadmap'; import RoadmapGroup from '../../pages/[roadmap]/[group]'; import { CheckIcon, CloseIcon, RepeatIcon } from '@chakra-ui/icons'; +import { queryGroupElementsById } from '../../lib/renderer/utils'; type ContentDrawerProps = { roadmap: RoadmapType; @@ -52,9 +53,9 @@ export function ContentDrawer(props: ContentDrawerProps) {