Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions src/assets/data/layers-data.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,6 @@
"Description": "B² Network is an EVM-compatible Bitcoin Layer 2 solution using zero-knowledge rollup technology. It features B² Rollup for smart contracts and B² Hub as Bitcoin's data availability layer, achieving high scalability while maintaining Bitcoin's security.",
"Link": "https://www.bsquared.network/"
},
{
"Name": "Babylon",
"Category": "Sidechain",
"Network Stage": "Testnet",
"Native Token": "",
"Founded": "",
"Image": "babylon.png",
"Type": "Sidechain"
},
{
"Name": "BEVM",
"Category": "Zk-rollup",
Expand Down
6 changes: 4 additions & 2 deletions src/components/GitHubActivity.vue
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,10 @@ const fetchPullRequests = async () => {

const data = await response.json();

// Filter for merged pull requests
const mergedPRs = data.filter((pr) => pr.merged_at !== null);
// Filter for merged pull requests and sort by merge date (latest first)
const mergedPRs = data
.filter((pr) => pr.merged_at !== null)
.sort((a, b) => new Date(b.merged_at) - new Date(a.merged_at));

// Take only the latest 5 merged PRs
const latestMergedPRs = mergedPRs.slice(0, 5).map((pr) => ({
Expand Down