summaryrefslogtreecommitdiff
path: root/examples/docs/src
diff options
context:
space:
mode:
authorGravatar matthewp <matthewp@users.noreply.github.com> 2022-09-29 12:16:35 +0000
committerGravatar fredkbot <fred+astrobot@astro.build> 2022-09-29 12:16:35 +0000
commitb3c857adbdc902a64b9d6ccfb4aad066349fffe6 (patch)
tree06e375f45cef820e6db89b26c3a72388d37804f5 /examples/docs/src
parentd8e796e9604231a58dfa84abe163c5dd488d57e3 (diff)
downloadastro-b3c857adbdc902a64b9d6ccfb4aad066349fffe6.tar.gz
astro-b3c857adbdc902a64b9d6ccfb4aad066349fffe6.tar.zst
astro-b3c857adbdc902a64b9d6ccfb4aad066349fffe6.zip
[ci] format
Diffstat (limited to 'examples/docs/src')
-rw-r--r--examples/docs/src/components/LeftSidebar/LeftSidebar.astro4
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/docs/src/components/LeftSidebar/LeftSidebar.astro b/examples/docs/src/components/LeftSidebar/LeftSidebar.astro
index c9ebe4258..33af79463 100644
--- a/examples/docs/src/components/LeftSidebar/LeftSidebar.astro
+++ b/examples/docs/src/components/LeftSidebar/LeftSidebar.astro
@@ -7,7 +7,9 @@ type Props = {
};
const { currentPage } = Astro.props as Props;
-const currentPageMatch = currentPage.endsWith('/') ? currentPage.slice(1, -1) : currentPage.slice(1);
+const currentPageMatch = currentPage.endsWith('/')
+ ? currentPage.slice(1, -1)
+ : currentPage.slice(1);
const langCode = getLanguageFromURL(currentPage);
const sidebar = SIDEBAR[langCode];
---