diff --git a/apps/web/components/shared/skeleton/UserTeamCardSkeleton.tsx b/apps/web/components/shared/skeleton/UserTeamCardSkeleton.tsx index 8fd53544b..a35b04789 100644 --- a/apps/web/components/shared/skeleton/UserTeamCardSkeleton.tsx +++ b/apps/web/components/shared/skeleton/UserTeamCardSkeleton.tsx @@ -1,6 +1,7 @@ +import { clsxm } from '@app/utils'; import { Card, VerticalSeparator } from 'lib/components'; import { DraggerIcon } from 'lib/components/svgs'; -import Skeleton from 'react-loading-skeleton'; +// import Skeleton from 'react-loading-skeleton'; const UserTeamCardSkeletonCard = () => { return ( @@ -11,16 +12,16 @@ const UserTeamCardSkeletonCard = () => {
- +
-
-
- +
+
+
-
+
@@ -48,4 +49,28 @@ const UserTeamCardSkeletonCard = () => { ); }; +const Skeleton = ({ + height, + width, + borderRadius, + className +}: { + height: number; + width: number; + borderRadius: number; + className: string; +}) => { + console.log({ borderRadius }); + return ( +
+ ); +}; + export default UserTeamCardSkeletonCard; diff --git a/apps/web/lib/features/team-members-card-view.tsx b/apps/web/lib/features/team-members-card-view.tsx index 5c3f3df17..3a848ecb3 100644 --- a/apps/web/lib/features/team-members-card-view.tsx +++ b/apps/web/lib/features/team-members-card-view.tsx @@ -41,7 +41,7 @@ const TeamMembersCardView: React.FC = ({ handleChangeOrder(peopleClone[draggedOverTeamMember.current], dragTeamMember.current); } - const handleChangeOrder = (employee: OT_Member, order: number) => { + const handleChangeOrder = (employee: OT_Member, order: number) => { updateOrganizationTeamEmployeeOrderOnList(employee, order); }; @@ -122,7 +122,7 @@ const TeamMembersCardView: React.FC = ({ leaveFrom="opacity-100" leaveTo="opacity-0" > - {[1, 2].map((_, i) => { + {[0, 2].map((_, i) => { return (
  • diff --git a/apps/web/styles/globals.css b/apps/web/styles/globals.css index 6722ea21b..13a3584e6 100644 --- a/apps/web/styles/globals.css +++ b/apps/web/styles/globals.css @@ -295,7 +295,7 @@ html.dark { } } -@keyframes pulse { +/* @keyframes pulse { 0%, 100% { opacity: 1; @@ -304,7 +304,7 @@ html.dark { opacity: 1; transform: scale(1.2); } -} +} */ .progress-ring__circle { stroke-dasharray: 400, 400;