Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Nov 8, 2022. It is now read-only.

Commit76482d5

Browse files
committed
refactor(GeoMap): add Loadding to dynamic import
1 parent6f734d8 commit76482d5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎containers/UsersThread/index.js‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ let GeoMapSSR = null
2121

2222
classUsersThreadContainerextendsReact.Component{
2323
componentDidMount(){
24-
GeoMapSSR=dynamic(import('./GeoMap.js'),{ssr:false})
24+
GeoMapSSR=dynamic(import('./GeoMap.js'),{
25+
loading:()=><MapLoading/>,
26+
})
2527
}
2628

2729
componentWillMount(){

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp