Skip to content

Commit

Permalink
fix / revert back defaultOpen to false
Browse files Browse the repository at this point in the history
  • Loading branch information
psiddharthdesign committed Aug 20, 2024
1 parent 7dfe522 commit 903a973
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ async function OrganizationSubscriptionSidebarCard({
isOrganizationAdmin={isOrganizationAdmin}
organizationId={organizationId}
activeProducts={activeProducts}
defaultOpen={true}
defaultOpen={false}
/>
</>
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/FreeTrialDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ type FreeTrialDialogProps = {
isOrganizationAdmin: boolean,
defaultOpen?: boolean
}
export function FreeTrialDialog({ organizationId, activeProducts, isOrganizationAdmin, defaultOpen = true }: FreeTrialDialogProps) {
export function FreeTrialDialog({ organizationId, activeProducts, isOrganizationAdmin, defaultOpen = false }: FreeTrialDialogProps) {
// this should be true
const [open, setOpen] = useState(defaultOpen)
// supabase cannot sort by foreign table, so we do it here
Expand Down

0 comments on commit 903a973

Please sign in to comment.