-
Notifications
You must be signed in to change notification settings - Fork 0
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
Bara chain #134
Conversation
@@ -0,0 +1,34 @@ | |||
interface ChainConfigType { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
搞个 store 把,类似 global store,或者直接放进去也行
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
store试过了 放到json中会报错,只能放到function中
There was a problem hiding this comment.
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> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
如果不打算做成通用,建议组件名字改下
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个能不能判断下 dev 环境才展示
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
临时代码
No description provided.