Skip to content

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

Save a line

Terry Suttonb54f434fe310
diff --git a/apps/reference/src/components/ButtonCard.js b/apps/reference/src/components/ButtonCard.js
index ce4f8993441..f9bee059137 100644
--- a/apps/reference/src/components/ButtonCard.js
+++ b/apps/reference/src/components/ButtonCard.js
@@ -15,9 +15,7 @@ export default function ButtonCard({
to={to}
className={['button-card', `button-card--${layout}`].join(' ')}
>
- {children ? (
- children
- ) : (
+ {children ? children : (
<div className="button-card__inner">
{icon && typeof icon == 'string' ? (
<img src={icon} width={24} />