diff options
Diffstat (limited to 'js/example')
| -rw-r--r-- | js/example/ink.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/js/example/ink.tsx b/js/example/ink.tsx index 5eaab4d3b..2cd4aaa0c 100644 --- a/js/example/ink.tsx +++ b/js/example/ink.tsx @@ -38,6 +38,7 @@ function App() { const [state, setState] = useState(initial) const [input, setInput] = useState("") + useEffect(() => { fetch("http://localhost:16713/event") .then(stream => { |
