fix: Skeleton Loader (#8925)
* temp fix * removed isLoading declaration * final cleanup --------- Co-authored-by: firefox292 <[email protected]> Co-authored-by: alannnc <[email protected]> Co-authored-by: Peer Richelsen <[email protected]> Co-authored-by: Keith Williams <[email protected]> Co-authored-by: Alex van Andel <[email protected]>
This commit is contained in:
2 files changed
+3
-3
No files matched your search
@@ -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 (
|
||||
<>
|
||||
|
||||
Reference in new issue
Block a user