Skip to content

Commit

Permalink
add back types
Browse files Browse the repository at this point in the history
  • Loading branch information
evisdrenova committed Oct 24, 2024
1 parent 0325c71 commit 1fefe36
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,10 @@ import { ReactElement, useState } from 'react';
import { useForm } from 'react-hook-form';
import { toast } from 'sonner';

type PlanName = 'Trial' | 'Team' | 'Enterprise';

interface Plan {
name: string;
name: PlanName;
description: string;
price: string;
buttonText: string;
Expand Down Expand Up @@ -284,7 +286,7 @@ function Plans({
buttonText={plan.buttonText}
/>
<div className="text-md flex">
{plan.name == 'Personal' && '*No credit card required'}
{plan.name == 'Trial' && '*No credit card required'}
</div>
</div>
</div>
Expand Down

0 comments on commit 1fefe36

Please sign in to comment.