Skip to content

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

fixed key in new flyout files for build. fixed cursor hover

mildtomato4db2f92924e0
diff --git a/www/components/Nav/Company.tsx b/www/components/Nav/Company.tsx
index 0fa16703b1f..98d139b397c 100644
--- a/www/components/Nav/Company.tsx
+++ b/www/components/Nav/Company.tsx
@@ -35,21 +35,14 @@ const Company = () => {
</div>
</a>
)
- return url ? (
+ return (
<a
- key={name}
- href="#"
+ key={text}
+ href={url}
className="-m-3 p-3 flex flex-col justify-between rounded-lg transition ease-in-out duration-150"
>
{content}
</a>
- ) : (
- <div
- key={name}
- className="-m-3 p-3 flex flex-col justify-between rounded-lg transition ease-in-out duration-150"
- >
- {content}
- </div>
)
})
diff --git a/www/components/Nav/Developers.tsx b/www/components/Nav/Developers.tsx
index 5b6496ba0eb..cb8c6a397a5 100644
--- a/www/components/Nav/Developers.tsx
+++ b/www/components/Nav/Developers.tsx
@@ -35,7 +35,7 @@ const Developers = () => {
)
return url ? (
<a
- key={name}
+ key={text}
href="#"
className="-m-3 p-3 flex flex-col justify-between rounded-lg transition ease-in-out duration-150"
>
@@ -43,7 +43,7 @@ const Developers = () => {
</a>
) : (
<div
- key={name}
+ key={text}
className="-m-3 p-3 flex flex-col justify-between rounded-lg transition ease-in-out duration-150"
>
{content}
diff --git a/www/components/Nav/index.tsx b/www/components/Nav/index.tsx
index 87dc1670695..70210781e6d 100644
--- a/www/components/Nav/index.tsx
+++ b/www/components/Nav/index.tsx
@@ -149,7 +149,7 @@ const Nav = (props: Props) => {
<div
className={`
inline-flex items-center px-1 border-b-2 border-transparent text-sm font-medium text-gray-500 hover:text-gray-700
- dark:text-dark-100
+ dark:text-dark-100 cursor-pointer
`}
onClick={props.onClick}
>