From 11111bb49889feb1b00e6814d9d81e3e23409d7c Mon Sep 17 00:00:00 2001
From: Huynh Tan <danhuynhdev@gmail.com>
Date: Thu, 30 Jun 2022 15:52:03 +0700
Subject: Read useInheritance from emacs config

---
 components/Sidebar/index.tsx | 3 +++
 1 file changed, 3 insertions(+)

(limited to 'components/Sidebar/index.tsx')

diff --git a/components/Sidebar/index.tsx b/components/Sidebar/index.tsx
index 66728fd..e112699 100644
--- a/components/Sidebar/index.tsx
+++ b/components/Sidebar/index.tsx
@@ -51,6 +51,7 @@ export interface SidebarProps {
   setTagColors: any
   macros?: { [key: string]: string }
   attachDir: string
+  useInheritance: boolean
 }
 
 const Sidebar = (props: SidebarProps) => {
@@ -79,6 +80,7 @@ const Sidebar = (props: SidebarProps) => {
     setTagColors,
     macros,
     attachDir,
+    useInheritance,
   } = props
 
   const { highlightColor } = useContext(ThemeContext)
@@ -231,6 +233,7 @@ const Sidebar = (props: SidebarProps) => {
                     collapse,
                     macros,
                     attachDir,
+                    useInheritance,
                   }}
                 />
               </VStack>
-- 
cgit v1.2.3

