diff --git a/app/routes/_index.tsx b/app/routes/_index.tsx index 185f59b..cdbe62c 100644 --- a/app/routes/_index.tsx +++ b/app/routes/_index.tsx @@ -87,6 +87,11 @@ function EnableButton({ onSubscribe }: { onSubscribe: () => void }) { body: JSON.stringify(subscription), }) onSubscribe() + }, + (error) => { + const errorDiv = document.createElement("div") + errorDiv.innerText = "Error thingy" + JSON.stringify(error) + document.appendChild(errorDiv) } ) }