@@ -4,7 +4,7 @@ import { useDispatch } from 'react-redux';
44import { useNavigate } from 'react-router-dom' ;
55import { bindActionCreators } from 'redux' ;
66
7- import { FileListBox } from '../../components' ;
7+ import { FileListBox , SkeletonUIBox } from '../../components' ;
88import { actionCreators } from '../../state' ;
99import { getFileSize , getShortFileName , getDate } from '../../utils' ;
1010import * as S from './styled' ;
@@ -25,7 +25,7 @@ export const FileListPage: React.FC = () => {
2525 setFileList ( res . data . list ) ; //파일리스트 요소 갯수에 따른 핸들링 추가예정
2626 setTimeout ( ( ) => {
2727 setLoading ( true ) ; //loading 확인하고싶으면 false로 바꿔주세요.
28- } , 1500 ) ;
28+ } , 1200 ) ;
2929 } )
3030 . catch ( ( err ) => {
3131 console . log ( err ) ;
@@ -62,27 +62,13 @@ export const FileListPage: React.FC = () => {
6262 ) : (
6363 < >
6464 < S . FileListPageContainer >
65- < S . FileListSkeletonUI
66- randomWitdh = { SkeletonUIRandomWidth [ Math . floor ( Math . random ( ) * 6 ) ] }
67- />
68- < S . FileListSkeletonUI
69- randomWitdh = { SkeletonUIRandomWidth [ Math . floor ( Math . random ( ) * 6 ) ] }
70- />
71- < S . FileListSkeletonUI
72- randomWitdh = { SkeletonUIRandomWidth [ Math . floor ( Math . random ( ) * 6 ) ] }
73- />
74- < S . FileListSkeletonUI
75- randomWitdh = { SkeletonUIRandomWidth [ Math . floor ( Math . random ( ) * 6 ) ] }
76- />
77- < S . FileListSkeletonUI
78- randomWitdh = { SkeletonUIRandomWidth [ Math . floor ( Math . random ( ) * 6 ) ] }
79- />
80- < S . FileListSkeletonUI
81- randomWitdh = { SkeletonUIRandomWidth [ Math . floor ( Math . random ( ) * 6 ) ] }
82- />
83- < S . FileListSkeletonUI
84- randomWitdh = { SkeletonUIRandomWidth [ Math . floor ( Math . random ( ) * 6 ) ] }
85- />
65+ < SkeletonUIBox randomWitdh = { SkeletonUIRandomWidth [ Math . floor ( Math . random ( ) * 6 ) ] } />
66+ < SkeletonUIBox randomWitdh = { SkeletonUIRandomWidth [ Math . floor ( Math . random ( ) * 6 ) ] } />
67+ < SkeletonUIBox randomWitdh = { SkeletonUIRandomWidth [ Math . floor ( Math . random ( ) * 6 ) ] } />
68+ < SkeletonUIBox randomWitdh = { SkeletonUIRandomWidth [ Math . floor ( Math . random ( ) * 6 ) ] } />
69+ < SkeletonUIBox randomWitdh = { SkeletonUIRandomWidth [ Math . floor ( Math . random ( ) * 6 ) ] } />
70+ < SkeletonUIBox randomWitdh = { SkeletonUIRandomWidth [ Math . floor ( Math . random ( ) * 6 ) ] } />
71+ < SkeletonUIBox randomWitdh = { SkeletonUIRandomWidth [ Math . floor ( Math . random ( ) * 6 ) ] } />
8672 </ S . FileListPageContainer >
8773 < S . FileListPageBoxShoadow />
8874 </ >
0 commit comments