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:
authored and GitHub committed 2023-05-30 15:00:32 +00:00
1 parent 1fdd28b974
commit ab6a7b5377
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>
+2 -2
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 (
<>