Skip to content
This repository has been archived by the owner on Jun 24, 2022. It is now read-only.

Update review text based on chainId #2373

Merged
merged 1 commit into from
Feb 2, 2022
Merged

Conversation

nenadV91
Copy link
Contributor

@nenadV91 nenadV91 commented Feb 2, 2022

Summary

Fixes #2370

As described in the issue this will remove Ethereum word from the FAQ on the xDai.

@nenadV91 nenadV91 requested review from a team February 2, 2022 12:53
@github-actions
Copy link
Contributor

github-actions bot commented Feb 2, 2022

  • 🔭 GP Swap: CoW Protocol v2 Swap UI

@@ -56,11 +57,12 @@ const STEPS_DATA = [
},
]

const FAQ_DATA = [
const FAQ_DATA = (chainId: number | undefined) => [
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: why not passing directly the string? seems cleaner logic

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think this is more flexible just in case there are some other changes in text based on chainId in the future.

Copy link

@elena-zh elena-zh left a comment

Choose a reason for hiding this comment

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

LGTM!

@nenadV91 nenadV91 changed the base branch from develop to release/1.10 February 2, 2022 16:26
@nenadV91 nenadV91 changed the base branch from release/1.10 to develop February 2, 2022 16:27
@nenadV91 nenadV91 merged commit 22fc2d1 into develop Feb 2, 2022
@alfetopito alfetopito deleted the 2370-text-issue-fix branch February 2, 2022 17:40
ramirotw pushed a commit that referenced this pull request Feb 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[1.10] Remove 'Ethereum' from the answer when connect to Gnosis Chain
3 participants