diff --git a/sites/svelteflow.dev/src/pages/api-reference/components/handle.mdx b/sites/svelteflow.dev/src/pages/api-reference/components/handle.mdx
index de21e8089..6a17a0d53 100644
--- a/sites/svelteflow.dev/src/pages/api-reference/components/handle.mdx
+++ b/sites/svelteflow.dev/src/pages/api-reference/components/handle.mdx
@@ -44,17 +44,26 @@ connection source matches a given id.
```svelte
-export const TargetHandleWithValidation = ({ position, source }) => (
- connection.source === source}
- style={{ background: '#fff' }}
- />
-);
+
```
### Style handles when connecting