Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Change buttons on branch management page to default

Joshen Limce90fdd7474c
diff --git a/studio/components/interfaces/BranchManagement/BranchManagement.tsx b/studio/components/interfaces/BranchManagement/BranchManagement.tsx
index 11036d5555d..44383ae66cc 100644
--- a/studio/components/interfaces/BranchManagement/BranchManagement.tsx
+++ b/studio/components/interfaces/BranchManagement/BranchManagement.tsx
@@ -162,7 +162,9 @@ const BranchManagement = () => {
<div className="flex items-center space-x-2">
<Input placeholder="Search branch" size="small" icon={<IconSearch />} />
</div>
- <Button onClick={() => setShowCreateBranch(true)}>Create preview branch</Button>
+ <Button type="default" onClick={() => setShowCreateBranch(true)}>
+ Create preview branch
+ </Button>
</div>
<div className="">
{isLoadingIntegrations && <GenericSkeletonLoader />}
diff --git a/studio/components/interfaces/BranchManagement/BranchPanels.tsx b/studio/components/interfaces/BranchManagement/BranchPanels.tsx
index 3e716f7164d..62e7eb41007 100644
--- a/studio/components/interfaces/BranchManagement/BranchPanels.tsx
+++ b/studio/components/interfaces/BranchManagement/BranchPanels.tsx
@@ -163,7 +163,9 @@ const BranchPanel = ({
<div className="flex items-center space-x-4">
<Link passHref href={pullRequestURL}>
<a target="_blank" rel="noreferrer">
- <Button icon={<IconExternalLink />}>Create pull request</Button>
+ <Button type="default" icon={<IconExternalLink />}>
+ Create pull request
+ </Button>
</a>
</Link>
<DropdownMenu_Shadcn_ open={open} onOpenChange={() => setOpen(!open)} modal={false}>