Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add polygon amoy support #10

Merged
merged 15 commits into from
Jun 20, 2024
Merged

Conversation

cyaiox
Copy link
Contributor

@cyaiox cyaiox commented Apr 30, 2024

No description provided.

@cyaiox cyaiox marked this pull request as ready for review May 14, 2024 19:59
src/modules/store.ts Outdated Show resolved Hide resolved
const data = (await response.json()) as T
return data
} catch (error) {
console.error(error)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What do you think about propagating the error when it occurs?

}

return isPrd || isStg ? 1 : 11155111;
})();

export const peerUrl = (() => {
if (process.env.REACT_APP_PEER_URL) {
return process.env.REACT_APP_PEER_URL;
if (process.env.VITE_REACT_APP_PEER_URL) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This won't be ever set, as the process.env.VITE_REACT_APP_PEER_URL must be defined in the vite config because vite does not use the process.env constant.
The same will happen with other environment variables. What do you think about adding the environments module as we have in other dApps?

@@ -24,13 +24,14 @@ jobs:
packageVersion: ${{ github.event.deployment.payload.packageVersion }}

# Rollout information
deploymentDomain: "third-party-aggregator.decentraland.zone"
deploymentName: "_site"
deploymentPath: 'third-party-aggregator'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We're planning to modify the site a bit and make it more user friendly. What do you think about using the /linked-wearables path here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sure, it's a great idea! updated :)

@LautaroPetaccio LautaroPetaccio merged commit c86791e into master Jun 20, 2024
@LautaroPetaccio LautaroPetaccio deleted the feat/add-polygon-amoy branch June 20, 2024 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants