Skip to content

Commit

Permalink
Merge pull request #2408 from zeitgeistpm/staging
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored May 2, 2024
2 parents 0d160e2 + 7e99dc4 commit 2223264
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 13 deletions.
2 changes: 1 addition & 1 deletion lib/constants/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export const endpoints: EndpointOption[] = [

export const graphQlEndpoints: EndpointOption[] = [
{
value: "https://zeitgeist-squid-bsr.stellate.sh/",
value: "https://processor.bsr.zeitgeist.pm/graphql",
label: "Battery Park (Testnet)",
environment: "staging",
},
Expand Down
8 changes: 4 additions & 4 deletions pages/markets/[marketid].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,10 @@ const Market: NextPage<MarketPageProps> = ({

const tradeItem = useTradeItem();

if (indexedMarket == null) {
return <NotFoundPage backText="Back To Markets" backLink="/" />;
}

const outcomeAssets = indexedMarket?.outcomeAssets?.map(
(assetIdString) =>
parseAssetId(assetIdString).unwrap() as MarketOutcomeAssetId,
Expand Down Expand Up @@ -286,10 +290,6 @@ const Market: NextPage<MarketPageProps> = ({
}
}, [market?.report, disputes]);

if (indexedMarket == null) {
return <NotFoundPage backText="Back To Markets" backLink="/" />;
}

const marketHasPool =
(market?.scoringRule === ScoringRule.Cpmm &&
poolId != null &&
Expand Down
9 changes: 1 addition & 8 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3207,7 +3207,7 @@ __metadata:
languageName: node
linkType: hard

"@scure/base@npm:^1.1.1":
"@scure/base@npm:^1.1.1, @scure/base@npm:~1.1.4":
version: 1.1.6
resolution: "@scure/base@npm:1.1.6"
checksum: d6deaae91deba99e87939af9e55d80edba302674983f32bba57f942e22b1726a83c62dc50d8f4370a5d5d35a212dda167fb169f4b0d0c297488d8604608fc3d3
Expand All @@ -3228,13 +3228,6 @@ __metadata:
languageName: node
linkType: hard

"@scure/base@npm:~1.1.4":
version: 1.1.6
resolution: "@scure/base@npm:1.1.6"
checksum: d6deaae91deba99e87939af9e55d80edba302674983f32bba57f942e22b1726a83c62dc50d8f4370a5d5d35a212dda167fb169f4b0d0c297488d8604608fc3d3
languageName: node
linkType: hard

"@scure/bip32@npm:1.3.1":
version: 1.3.1
resolution: "@scure/bip32@npm:1.3.1"
Expand Down

0 comments on commit 2223264

Please sign in to comment.