Skip to content

Commit

Permalink
more refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
Lomet committed Dec 22, 2024
1 parent e7fdee2 commit e12ebc8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v4

# Step 3: Install dependencies
# Step 3: Install latest version of poolzfinance/reacthelper
- name: Install dependencies
run: npm install
run: npm install @poolzfinance/reacthelper

# Step 4: Build the project (generate JSON files and copy index.html)
- name: Build project
Expand Down
9 changes: 0 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,4 @@
"url": "https://github.com/The-Poolz/chain-settings/issues"
},
"homepage": "https://github.com/The-Poolz/chain-settings#readme",
"dependencies": {
"@poolzfinance/reacthelper": "^2.1.10"
},
"devDependencies": {
"gh-pages": "^6.2.0",
"ts-node": "^10.9.2",
"typescript": "^5.7.2",
"undici": "^6.21.0"
}
}
2 changes: 1 addition & 1 deletion view/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ <h1>JSON Viewer</h1>

function fetchJSON() {
const chainId = document.getElementById("chainIdInput").value;
const url = `static-data/${chainId}.json`;
const url = `dist/${chainId}.json`;

fetch(url)
.then(response => {
Expand Down

0 comments on commit e12ebc8

Please sign in to comment.