Skip to content

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

Styling issues and remove console logs

Joshen Lim9dc699a8a94d
diff --git a/studio/components/interfaces/Account/AccessTokenList.tsx b/studio/components/interfaces/Account/AccessTokenList.tsx
index 17c5ef1fc8e..b7e05d51bdf 100644
--- a/studio/components/interfaces/Account/AccessTokenList.tsx
+++ b/studio/components/interfaces/Account/AccessTokenList.tsx
@@ -51,7 +51,6 @@ const AccessTokenList = observer(() => {
) : (
<>
{tokens?.map((x: AccessToken) => {
- console.log('x: ', x)
return (
<Table.tr key={x.token_alias}>
<Table.td>{x.token_alias}</Table.td>
diff --git a/studio/components/layouts/AccountLayout/WithSidebar.tsx b/studio/components/layouts/AccountLayout/WithSidebar.tsx
index 9bfb3864670..2a911d77eb8 100644
--- a/studio/components/layouts/AccountLayout/WithSidebar.tsx
+++ b/studio/components/layouts/AccountLayout/WithSidebar.tsx
@@ -168,8 +168,14 @@ const SidebarItem: FC<any> = ({ id, label, href, isActive, isSubitem, onClick, e
className="cursor-pointer flex space-x-2 items-center outline-none focus-visible:ring-1 ring-scale-1200 focus-visible:z-10 group py-1 font-normal border-scale-500 group-hover:border-scale-900"
onClick={onClick || (() => {})}
>
- <span className="transition truncate text-sm text-scale-900 group-hover:text-scale-1100">{external && <IconArrowUpRight size={'tiny'} />}</span>
- <span className="transition truncate text-sm w-full text-scale-1100 group-hover:text-scale-1200">{isSubitem ? <p>{label}</p> : label}</span>
+ {external && (
+ <span className="transition truncate text-sm text-scale-900 group-hover:text-scale-1100">
+ <IconArrowUpRight size={'tiny'} />
+ </span>
+ )}
+ <span className="transition truncate text-sm w-full text-scale-1100 group-hover:text-scale-1200">
+ {isSubitem ? <p>{label}</p> : label}
+ </span>
</button>
</a>
</Link>
diff --git a/studio/lib/common/fetch/post.ts b/studio/lib/common/fetch/post.ts
index 5aaea71b3bd..69c12dd0204 100644
--- a/studio/lib/common/fetch/post.ts
+++ b/studio/lib/common/fetch/post.ts
@@ -19,7 +19,6 @@ export async function post<T = any>(
headers,
...otherOptions,
})
- console.log('response.ok: ', response.ok, response)
if (!response.ok) return handleResponseError(response, requestId)
return handleResponse(response, requestId)
} catch (error) {