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)