chore(docs): wrap Repl in client only
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user