chore(docs): wrap Repl in client only

This commit is contained in:
braks
2022-11-13 19:13:43 +01:00
committed by Braks
parent cd03034bdb
commit 33403776dc
26 changed files with 163 additions and 317 deletions
+1 -10
View File
@@ -1,17 +1,8 @@
---
layout: page
---
# Empty
Similar to the drag and drop example, we can also add nodes to an empty graph on a button click,
which triggers a push into our elements / nodes array.
<div class="mt-6">
<ClientOnly>
<Suspense>
<Repl example="empty"></Repl>
</Suspense>
</ClientOnly>
<Repl example="empty"></Repl>
</div>