fix buttons

This commit is contained in:
Jonathan Summers-Muir committed 2023-03-28 16:50:59 +08:00
1 parent 7c45174516
commit ddeca96379
3 files changed
+12 -4

No files matched your search

@@ -136,7 +136,9 @@ const ProjectUsage: FC<Props> = ({ projectRef }) => {
for a full breakdown of available plans.
</p>
<Link href={`/project/${projectRef}/settings/billing/update`}>
<Button>Upgrade to Pro</Button>
<a>
<Button>Upgrade to Pro</Button>
</a>
</Link>
</div>
) : (
@@ -148,7 +150,9 @@ const ProjectUsage: FC<Props> = ({ projectRef }) => {
spend cap and pay for over-usage beyond the quota.
</p>
<Link href={`/project/${projectRef}/settings/billing/update/pro`}>
<Button>Configure Spend Cap</Button>
<a>
<Button>Configure Spend Cap</Button>
</a>
</Link>
</div>
)}
@@ -71,7 +71,9 @@ const Success: FC<Props> = ({ sentCategory = '' }) => {
</div>
<div className="w-full pb-4 px-4 flex items-center justify-end">
<Link href="/projects">
<Button>Go back to dashboard</Button>
<a>
<Button>Go back to dashboard</Button>
</a>
</Link>
</div>
</div>
@@ -111,7 +111,9 @@ const BuildingState: FC<Props> = ({ project }) => {
support ticket.
</p>
<Link href="/support/new">
<Button type="default">Contact support team</Button>
<a>
<Button type="default">Contact support team</Button>
</a>
</Link>
</>
}