Skip to content
This repository has been archived by the owner on Feb 10, 2023. It is now read-only.

Commit

Permalink
docs: remove uneccessary const
Browse files Browse the repository at this point in the history
  • Loading branch information
nartc committed Apr 29, 2022
1 parent 681b762 commit 0a93137
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions libs/documentations/sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: [
Expand Down Expand Up @@ -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'),
},
],
};
Expand Down

0 comments on commit 0a93137

Please sign in to comment.