New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

remix-hook-form

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

remix-hook-form - npm Package Compare versions

Comparing version

to
6.1.2

@@ -125,3 +125,4 @@ // src/utilities/index.ts

useNavigation,
useSubmit
useSubmit,
useHref
} from "react-router";

@@ -138,2 +139,3 @@ var useRemixForm = ({

const [isSubmittedSuccessfully, setIsSubmittedSuccessfully] = useState(false);
const basename = useHref("/");
const actionSubmit = useSubmit();

@@ -252,3 +254,3 @@ const actionData = useActionData();

const action = (_c = e == null ? void 0 : e.currentTarget) == null ? void 0 : _c.action.replace(
window.location.origin,
`${window.location.origin}${basename === "/" ? "" : basename}`,
""

@@ -255,0 +257,0 @@ );

{
"name": "remix-hook-form",
"version": "6.1.1",
"version": "6.1.2",
"description": "Utility wrapper around react-hook-form for use with react-router v7+",

@@ -5,0 +5,0 @@ "type": "module",

Sorry, the diff of this file is not supported yet