From 0a93137b2aaca122c6710a141aafb228cef56b03 Mon Sep 17 00:00:00 2001
From: Chau Tran <nartc7789@gmail.com>
Date: Fri, 29 Apr 2022 15:14:45 -0500
Subject: [PATCH] docs: remove uneccessary const

---
 libs/documentations/sidebars.js | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/libs/documentations/sidebars.js b/libs/documentations/sidebars.js
index 8b37be497..73d58c18b 100644
--- a/libs/documentations/sidebars.js
+++ b/libs/documentations/sidebars.js
@@ -17,9 +17,6 @@ function buildUrl(path, defaultPath) {
     return defaultPath;
 }
 
-const sobaUrl = buildUrl('soba', 'http://localhost:4400');
-const examplesUrl = buildUrl('examples', 'http://localhost:4200');
-
 /** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */
 const sidebars = {
     docs: [
@@ -71,12 +68,12 @@ const sidebars = {
         {
             type: 'link',
             label: 'Soba API',
-            href: sobaUrl,
+            href: buildUrl('soba', 'http://localhost:4400'),
         },
         {
             type: 'link',
             label: 'Examples',
-            href: examplesUrl,
+            href: buildUrl('examples', 'http://localhost:4200'),
         },
     ],
 };