import { useAutoReset } from "https://deno.land/x/udibo_react_app@0.15.0/error.tsx";
A hook that automatically resets the error boundary if the location changes.
It takes a reset
function and generates a new reset function that prevents multiple calls to the reset callback.