fix: Skeleton Loader (#8925)
* temp fix * removed isLoading declaration * final cleanup --------- Co-authored-by: firefox292 <saurabh.n@nestaway.com> Co-authored-by: alannnc <alannnc@gmail.com> Co-authored-by: Peer Richelsen <peeroke@gmail.com> Co-authored-by: Keith Williams <keithwillcode@gmail.com> Co-authored-by: Alex van Andel <me@alexvanandel.com>gh-readonly-queue/main/pr-8795-ab6a7b537758f07cd9d8a92d2da39e74c83a2fe4
parent
1fdd28b974
commit
ab6a7b5377
|
@ -103,7 +103,7 @@ export default function RoutingForms({
|
|||
description={t("routing_forms_are_a_great_way")}
|
||||
features={features}
|
||||
background="/tips/routing-forms"
|
||||
isParentLoading={isLoading && <SkeletonLoaderTeamList />}
|
||||
isParentLoading={<SkeletonLoaderTeamList />}
|
||||
buttons={
|
||||
<div className="space-y-2 rtl:space-x-reverse sm:space-x-2">
|
||||
<ButtonGroup>
|
||||
|
|
|
@ -29,8 +29,8 @@ export function UpgradeTip({
|
|||
const { isLoading, hasTeamPlan } = useHasTeamPlan();
|
||||
|
||||
if (hasTeamPlan) return children;
|
||||
|
||||
if (isParentLoading || isLoading) return <>{isParentLoading}</>;
|
||||
|
||||
if (isLoading) return <>{isParentLoading}</>;
|
||||
|
||||
return (
|
||||
<>
|
||||
|
|
Loading…
Reference in New Issue