From b10ae71b924f0d4be7df4bfd477b268b2c89b59b Mon Sep 17 00:00:00 2001 From: Cole Lawrence Date: Fri, 22 Apr 2022 14:08:11 -0400 Subject: [PATCH] Fix example code in doc --- packages/dataverse/docs/GET_STARTED.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/dataverse/docs/GET_STARTED.md b/packages/dataverse/docs/GET_STARTED.md index 8964471..04bcb26 100644 --- a/packages/dataverse/docs/GET_STARTED.md +++ b/packages/dataverse/docs/GET_STARTED.md @@ -275,7 +275,7 @@ const mousePositionD = prism(() => { 'setupListeners', () => { const handleMouseMove = (e: MouseEvent) => { - setPos([e.screenX, e.screenY]) + setPos({x: e.screenX, y: e.screenY}) } document.addEventListener('mousemove', handleMouseMove)