From c7f0acb0dff5fe0f3deb181fe3c0cc30502757bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jussi=20Rytk=C3=B6nen?= Date: Wed, 19 Feb 2020 14:37:44 +0200 Subject: [PATCH] react todo example: fixes input clear on submit --- examples/react/todo.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/react/todo.html b/examples/react/todo.html index ad2b72f7..5190bb7a 100644 --- a/examples/react/todo.html +++ b/examples/react/todo.html @@ -26,7 +26,7 @@
{ e.preventDefault(); gun.get("todos").set({ title: newTodo.current.value }); - ref.current.value = '' + newTodo.current.value = '' }}>