+
Wallet Sets
+ {walletSets.length === 0 ? (
+
No wallet sets found.
+ ) : (
+
+ {walletSets.map((walletSet) => (
+
+ ))}
+
+ )}
+
+ );
+}
+```
+
+## Important Notes
+
+1. **Client-Side Components**: When using Circle Elements always create them as client components by adding `"use client";` at the top of your component file.
+
+2. **Environment Variables**: Keep your Circle API credentials in `.env` and never expose them to the client side. Always interact with the Circle SDK through server-side API routes.
+
+3. **Error Handling**: Implement proper error handling for API calls and display appropriate feedback to users.
+
+4. **TypeScript Support**: Circle Elements comes with built-in TypeScript types. Use them to ensure type safety in your application.
From c23bb2c3f490981d0e1430973f76dd7ce5d0af21 Mon Sep 17 00:00:00 2001
From: Kris Urbas <605420+krzysu@users.noreply.github.com>
Date: Wed, 12 Feb 2025 16:00:23 +0100
Subject: [PATCH 2/2] improve docs
---
.../src/GettingStarted.mdx | 127 +++++++-----------
1 file changed, 49 insertions(+), 78 deletions(-)
diff --git a/packages/circle-react-elements/src/GettingStarted.mdx b/packages/circle-react-elements/src/GettingStarted.mdx
index 2395fac..f158605 100644
--- a/packages/circle-react-elements/src/GettingStarted.mdx
+++ b/packages/circle-react-elements/src/GettingStarted.mdx
@@ -1,12 +1,15 @@
import { Meta } from '@storybook/blocks';
-