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
firefox341 2023-05-30 20:30:32 +05:30 committed by GitHub
parent 1fdd28b974
commit ab6a7b5377
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -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>

View File

@ -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 (
<>