Skip to content

Commit

Permalink
spinner add
Browse files Browse the repository at this point in the history
  • Loading branch information
thakiyudheen committed Jul 24, 2024
1 parent 17cc125 commit 5e5a0b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
9 changes: 1 addition & 8 deletions src/Components/common/skelton/loading.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,7 @@ import { FaSpinner } from 'react-icons/fa';
const LoadingIndicator: React.FC = () => {
return (
<div className="fixed inset-0 flex items-center justify-center bg-black bg-opacity-50 z-50">
{/* <dotlottie-player
// src="https://lottie.host/5a15fcda-33b9-4804-adb7-d0d45ddb5adf/6ViL1HZNqp.json"
// background="transparent"
// speed={1}
// style={{ width: '200px', height: '200px' }}
// loop
// autoplay
// ></dotlottie-player> */}

<FaSpinner className="animate-spin mr-2 text-[35px] text-blue-900 " />

</div>
Expand Down
2 changes: 1 addition & 1 deletion src/Components/user/profile/UserDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const UserDetails: React.FC = () => {
phone: user?.contact?.phone || "",
address: user?.address || "",
dateOfBirth: user?.profile?.dateOfBirth ? format(new Date(user.profile.dateOfBirth), 'yyyy-MM-dd') : "",
avatar: user?.avatar || "",
avatar: user?.profile?.avatar || "",
gender: user?.profile?.gender || "",
social: user?.contact?.socialMedia?.linkedIn || ""
};
Expand Down

0 comments on commit 5e5a0b6

Please sign in to comment.