From e5487f32bf4ecf93b6a9dfdadb52f64148e5382f Mon Sep 17 00:00:00 2001 From: Akshay Date: Mon, 12 Apr 2021 12:55:23 +0200 Subject: [PATCH] Improvement: Fix failing build --- src/templates/MarkdownList.jsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/templates/MarkdownList.jsx b/src/templates/MarkdownList.jsx index dc370bd6..590a63e4 100644 --- a/src/templates/MarkdownList.jsx +++ b/src/templates/MarkdownList.jsx @@ -40,7 +40,7 @@ export default function MarkdownList({ pageContext }) { return selectedSubSection === subSectionIndex ? (
  • changeSubsection(subSectionIndex)}> - {ele.replaceAll('_', ' ')} + {ele.replace(/_/g, ' ')}
    @@ -56,7 +56,7 @@ export default function MarkdownList({ pageContext }) { ) : (
  • changeSubsection(subSectionIndex)}> - {ele.replaceAll('_', ' ')} + {ele.replace(/_/g, ' ')}
  • )