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: Jump in item new flow #693

Merged
merged 2 commits into from
Oct 30, 2024
Merged

feat: Jump in item new flow #693

merged 2 commits into from
Oct 30, 2024

Conversation

braianj
Copy link
Collaborator

@braianj braianj commented Oct 30, 2024

No description provided.

Copy link

sentry-io bot commented Oct 30, 2024

🔍 Existing Issues For Review

Your pull request is modifying functions with the following pre-existing issues:

📄 File: src/components/Button/AttendingButtons.tsx

Function Unhandled Issue
AttendingButtons ReferenceError: servers is not defined AttendingB...
Event Count: 1 Affected Users: 1

Did you find this useful? React with a 👍 or 👎

@braianj braianj self-assigned this Oct 30, 2024
@braianj braianj added the enhancement New feature or request label Oct 30, 2024
>(false)
const [servers] = useAsyncMemo(getReamls)

const isPosition = !!event
const position = isPosition ? event && `${event.x},${event.y}` : "HTTP"

Choose a reason for hiding this comment

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

I know this is not related to the current change but it confuses a bit (worth to mention for future refactor maybe) but the doubt that it arises on me is: how a X,Y position can be related to the protocol HTTP?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I can't.

<Button
primary
onClick={handleModalClick}
style={{ marginTop: "28px" }}

Choose a reason for hiding this comment

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

expected in-line?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

nice

@@ -1,6 +1,7 @@
{
"GATSBY_CHAIN_ID": "1,137",
"GATSBY_DECENTRALAND_URL": "https://play.decentraland.org",
"GATSBY_DECENTRALAND_DOWNLOAD_URL": "https://decentraland.org/download/",

Choose a reason for hiding this comment

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

Are these being used?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

yes, there are used

@@ -22,6 +23,23 @@ export const getServers = memo(
{ ttl: Infinity }
)

export const getReamls = memo(
async () => {
const servers: { address: string }[] = cache.catalysts.mainnet

Choose a reason for hiding this comment

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

always mainnet?

@braianj braianj merged commit 674d0f6 into master Oct 30, 2024
2 checks passed
@braianj braianj deleted the feat/jump-in-flow branch October 30, 2024 22:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants