Skip to content

Commit

Permalink
center aligned loader (#5143)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pranshu1902 authored Mar 23, 2023
1 parent 14cea2f commit be1ad45
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/Components/Patient/SampleViewAdmin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,11 @@ export default function SampleViewAdmin() {
}

if (isLoading || !sample) {
manageSamples = <Loading />;
manageSamples = (
<div className="flex justify-center w-full">
<Loading />
</div>
);
} else if (sample && sample.length) {
manageSamples = (
<>
Expand Down

0 comments on commit be1ad45

Please sign in to comment.