summaryrefslogtreecommitdiff
path: root/examples/docs/src/components/LeftSidebar
diff options
context:
space:
mode:
Diffstat (limited to 'examples/docs/src/components/LeftSidebar')
-rw-r--r--examples/docs/src/components/LeftSidebar/LeftSidebar.astro4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/docs/src/components/LeftSidebar/LeftSidebar.astro b/examples/docs/src/components/LeftSidebar/LeftSidebar.astro
index 33433f5be..22fa5bbde 100644
--- a/examples/docs/src/components/LeftSidebar/LeftSidebar.astro
+++ b/examples/docs/src/components/LeftSidebar/LeftSidebar.astro
@@ -1,12 +1,12 @@
---
import { getLanguageFromURL } from '../../languages';
-import { SIDEBAR } from '../../config';
+import { SIDEBAR } from '../../consts';
type Props = {
currentPage: string;
};
-const { currentPage } = Astro.props as Props;
+const { currentPage } = Astro.props;
const currentPageMatch = currentPage.endsWith('/')
? currentPage.slice(1, -1)
: currentPage.slice(1);