Skip to content

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

Run prettier

Terry Sutton3685655b6b20
diff --git a/apps/reference/src/components/ButtonCard.js b/apps/reference/src/components/ButtonCard.js
index f9bee059137..ce4f8993441 100644
--- a/apps/reference/src/components/ButtonCard.js
+++ b/apps/reference/src/components/ButtonCard.js
@@ -15,7 +15,9 @@ 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} />