From ab6a7b537758f07cd9d8a92d2da39e74c83a2fe4 Mon Sep 17 00:00:00 2001 From: firefox341 <64374511+saurabbot@users.noreply.github.com> Date: Tue, 30 May 2023 20:30:32 +0530 Subject: [PATCH] fix: Skeleton Loader (#8925) * temp fix * removed isLoading declaration * final cleanup --------- Co-authored-by: firefox292 Co-authored-by: alannnc Co-authored-by: Peer Richelsen Co-authored-by: Keith Williams Co-authored-by: Alex van Andel --- .../app-store/routing-forms/pages/forms/[...appPages].tsx | 2 +- packages/features/tips/UpgradeTip.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/app-store/routing-forms/pages/forms/[...appPages].tsx b/packages/app-store/routing-forms/pages/forms/[...appPages].tsx index adbde12d54..4b6a1351e3 100644 --- a/packages/app-store/routing-forms/pages/forms/[...appPages].tsx +++ b/packages/app-store/routing-forms/pages/forms/[...appPages].tsx @@ -103,7 +103,7 @@ export default function RoutingForms({ description={t("routing_forms_are_a_great_way")} features={features} background="/tips/routing-forms" - isParentLoading={isLoading && } + isParentLoading={} buttons={
diff --git a/packages/features/tips/UpgradeTip.tsx b/packages/features/tips/UpgradeTip.tsx index ea284f1654..a71f615959 100644 --- a/packages/features/tips/UpgradeTip.tsx +++ b/packages/features/tips/UpgradeTip.tsx @@ -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 ( <>