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

Optimize chain config #137

Merged
merged 5 commits into from
Apr 30, 2024
Merged

Optimize chain config #137

merged 5 commits into from
Apr 30, 2024

Conversation

huangbinjie
Copy link

No description provided.

@@ -33,7 +33,7 @@ export enum ResultEnum {

const config = {
// 默认地址请求地址,可在 .env.** 文件中修改
baseURL: ChainConfig().vite_base_url,
baseURL: chainConfig[useGlobalStore.getState().chain].vite_base_url,
Copy link
Author

Choose a reason for hiding this comment

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

话说这里之前就有bug把。。切换网络了,这里不会变的,我这里突然想到但是没修还

Copy link

Choose a reason for hiding this comment

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

这个我来想办法解决下,先合了

};

return (
<Select
value={selectedValue}
<Select<Chain>

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.

有什么问题

@huangbinjie huangbinjie merged commit 3f53af8 into main Apr 30, 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.

3 participants