diff --git a/VERSION b/VERSION index 83aa95a..89b71fa 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -6.17.3 +6.17.4 diff --git a/play-life-web/package.json b/play-life-web/package.json index 1424784..678e43f 100644 --- a/play-life-web/package.json +++ b/play-life-web/package.json @@ -1,6 +1,6 @@ { "name": "play-life-web", - "version": "6.17.3", + "version": "6.17.4", "type": "module", "scripts": { "dev": "vite", diff --git a/play-life-web/src/components/PurchaseScreen.jsx b/play-life-web/src/components/PurchaseScreen.jsx index 5d6f80d..6570192 100644 --- a/play-life-web/src/components/PurchaseScreen.jsx +++ b/play-life-web/src/components/PurchaseScreen.jsx @@ -97,7 +97,7 @@ function PurchaseScreen({ onNavigate, purchaseConfigId, taskId, taskName }) { } const handleClose = () => { - onNavigate?.('tasks') + window.history.back() } const handleCompleteTask = async () => { @@ -110,7 +110,7 @@ function PurchaseScreen({ onNavigate, purchaseConfigId, taskId, taskName }) { body: JSON.stringify({}) }) if (response.ok) { - setTimeout(() => onNavigate?.('tasks'), 500) + setTimeout(() => window.history.back(), 500) return } else { const errorData = await response.json().catch(() => ({}))