Fix sharing options button

pull/4546/head
Kamran Ahmed 1 year ago
parent 2cae13c090
commit a0743a8272
  1. 2
      src/components/ShareOptions/ShareOptionsModal.tsx
  2. 2
      src/components/TeamMarketing/TeamPricing.tsx

@ -191,7 +191,6 @@ export function ShareOptionsModal(props: ShareOptionsModalProps) {
defaultSharedFriendIds.length > 0 ? defaultSharedFriendIds : []
);
} else if (visibility === 'team' && teamId) {
setIsTeamMembersLoading(true);
setSharedTeamMemberIds(
defaultSharedMemberIds?.length > 0 ? defaultSharedMemberIds : []
);
@ -253,7 +252,6 @@ export function ShareOptionsModal(props: ShareOptionsModalProps) {
isTeamMembersLoading={isTeamMembersLoading}
setIsTeamMembersLoading={setIsTeamMembersLoading}
onTeamChange={() => {
setIsTeamMembersLoading(true);
setSharedTeamMemberIds([]);
}}
/>

@ -35,7 +35,7 @@ export function TeamPricing() {
<p className="text-black font-semibold">All the features</p>
<p className="text-gray-600">Roles and Permissions</p>
<p className="text-gray-600">Custom Roadmaps</p>
<p className="text-gray-600">All Sharing Settings</p>
<p className="text-gray-600">Sharing Options</p>
<p className="text-gray-600">Progress Tracking</p>
<p className="text-gray-600">Team Insights</p>
<p className="text-gray-600">Onboarding support</p>

Loading…
Cancel
Save