mirror of
https://github.com/supabase/supabase.git
synced 2026-10-18 23:59:08 +03:00
Merge pull request #5918 from supabase/chore/misc-fixes-140322
Chore/misc fixes 140322
This commit is contained in:
4 files changed
+15
-11
No files matched your search
@@ -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>
|
||||
|
||||
@@ -74,13 +74,13 @@ const AccountLayout = ({ children, title, breadcrumbs }: any) => {
|
||||
href: `/account/me`,
|
||||
key: `/account/me`,
|
||||
},
|
||||
{
|
||||
isActive: router.pathname == `/account/tokens`,
|
||||
icon: '/img/user.svg',
|
||||
label: 'Tokens',
|
||||
href: `/account/tokens`,
|
||||
key: `/account/tokens`,
|
||||
},
|
||||
// {
|
||||
// isActive: router.pathname == `/account/tokens`,
|
||||
// icon: '/img/user.svg',
|
||||
// label: 'Tokens',
|
||||
// href: `/account/tokens`,
|
||||
// key: `/account/tokens`,
|
||||
// },
|
||||
logoutLink,
|
||||
],
|
||||
},
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user