Skip to content

Commit

Permalink
Merge pull request #2 from wpdas/staging
Browse files Browse the repository at this point in the history
Staging -> Main
  • Loading branch information
wpdas committed Mar 12, 2024
2 parents 007bf1a + 6344e02 commit 29b5f8c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@
"repository": "https://github.com/wpdas/alem-docs-web.git",
"license": "MIT",
"scripts": {
"start": "NODE_ENV=development alem dev",
"build": "alem build"
"start": "NODE_ENV=development alem dev --network testnet",
"build": "alem build",
"deploy:mainnet": "npm run build; alem deploy",
"deploy:testnet": "npm run build; alem deploy --network testnet"
},
"dependencies": {
"alem": "0.0.1-alpha.22"
"alem": "0.0.1-alpha.23"
},
"devDependencies": {
"@types/styled-components": "^5.1.26",
Expand Down
2 changes: 1 addition & 1 deletion src/components/ContentView/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const ContentView = () => {

// Watch the section parameter.
const urlParams = useParams();
const { isRoutesReady, routes } = useLocation();
const { isRoutesReady } = useLocation();

useEffect(() => {
if (urlParams.section && !sectionUsed && isRoutesReady) {
Expand Down
3 changes: 1 addition & 2 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,8 @@ export const InstallationPage = getMarkdownPage(
`https://cdn.jsdelivr.net/gh/wpdas/alem@${currentVersion}/docs/installation.md`,
);

// TODO: Alterar para currentVersion na proxima atualizacao da lib
export const ConfigFilePage = getMarkdownPage(
`https://cdn.jsdelivr.net/gh/wpdas/alem@main/docs/config-file.md`,
`https://cdn.jsdelivr.net/gh/wpdas/alem@${currentVersion}/docs/config-file.md`,
);

export const BOSPropsPage = getMarkdownPage(
Expand Down

0 comments on commit 29b5f8c

Please sign in to comment.