Skip to content

Commit

Permalink
hotfix: mainnet support
Browse files Browse the repository at this point in the history
  • Loading branch information
0xMugen committed Oct 29, 2024
1 parent 1d2f680 commit 1282920
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions client/src/routes/[slug]/game/[slug]/+page.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
export function load({ params }) {
export function load({ url }) {
const firstSegment = url.pathname.split('/').filter(Boolean)[0]; // Extract the first path segment
return {
gameId: params.slug,
}
network: firstSegment,
};
}

0 comments on commit 1282920

Please sign in to comment.