style: kanban loader (#491)

This commit is contained in:
Dakshesh Jain 2023-03-22 19:06:36 +05:30 committed by GitHub
parent e48d98cea6
commit 031f6443a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,7 +20,7 @@ import { CreateUpdateIssueModal, DeleteIssueModal } from "components/issues";
import StrictModeDroppable from "components/dnd/StrictModeDroppable";
import { CreateUpdateViewModal } from "components/views";
// ui
import { Avatar, EmptySpace, EmptySpaceItem, PrimaryButton } from "components/ui";
import { Avatar, EmptySpace, EmptySpaceItem, PrimaryButton, Spinner } from "components/ui";
// icons
import {
ListBulletIcon,
@ -651,7 +651,9 @@ export const IssuesView: React.FC<Props> = ({ type = "issue", openIssuesListModa
</div>
)
) : (
<p className="text-center">Loading...</p>
<div className="flex h-full w-full items-center justify-center">
<Spinner />
</div>
)}
</DragDropContext>
</>