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

Bara chain #134

Merged
merged 2 commits into from
Apr 29, 2024
Merged

Bara chain #134

merged 2 commits into from
Apr 29, 2024

Conversation

zhbyak
Copy link

@zhbyak zhbyak commented Apr 29, 2024

No description provided.

@@ -0,0 +1,34 @@
interface ChainConfigType {

Choose a reason for hiding this comment

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

搞个 store 把,类似 global store,或者直接放进去也行

Copy link
Author

Choose a reason for hiding this comment

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

store试过了 放到json中会报错,只能放到function中

Choose a reason for hiding this comment

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

你这里又直接用 localStorage 了啊

onChange={handleInternalChange}
style={{ minWidth: '120px', height: '60px' }}
>
<MenuItem value="arb">arb</MenuItem>

Choose a reason for hiding this comment

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

如果不打算做成通用,建议组件名字改下

Copy link
Author

Choose a reason for hiding this comment

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

临时代码

@@ -53,6 +54,13 @@ const SignInWithXPage: FC<SignInWithXPageProps> = ({ handleButtonClick, showLoad
'Login With X'
)}
</NextButton>
<TSelect

Choose a reason for hiding this comment

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

这个能不能判断下 dev 环境才展示

Copy link
Author

Choose a reason for hiding this comment

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

临时代码

@zhbyak zhbyak merged commit 4a9773e into main Apr 29, 2024
2 checks passed
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