Refactor preloader

* make it simple (use only one DOM element for preloader)
* remove useless test (it tests nothing)
* unify preloader import/export
This commit is contained in:
Pavel Mineev
2020-01-07 11:14:59 -06:00
committed by Umputun
parent 78bb9dd153
commit a309fc8fb0
8 changed files with 80 additions and 104 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ import { AuthPanel } from '@app/components/auth-panel';
import Settings from '@app/components/settings';
import { ConnectedComment as Comment } from '@app/components/comment/connected-comment';
import { CommentForm } from '@app/components/comment-form';
import Preloader from '@app/components/preloader';
import { Preloader } from '@app/components/preloader';
import { Thread } from '@app/components/thread';
import { Button } from '@app/components/button';
import { uploadImage, getPreview } from '@app/common/api';