Skip to content

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

Typography.Text error in sample

Steven Roussey24ee0b3cc120
diff --git a/examples/nextjs-with-supabase-auth/pages/index.js b/examples/nextjs-with-supabase-auth/pages/index.js
index 603f4cc8e02..25b49c3c640 100644
--- a/examples/nextjs-with-supabase-auth/pages/index.js
+++ b/examples/nextjs-with-supabase-auth/pages/index.js
@@ -68,7 +68,7 @@ const Index = () => {
>
Log out
</Button>
- {error && <Typography.Text danger>Failed to fetch user!</Typography.Text>}
+ {error && <Typography.Text type="danger">Failed to fetch user!</Typography.Text>}
{data && !error ? (
<>
<Typography.Text type="success">