Socket
Socket
Sign inDemoInstall

@formcarry/react

Package Overview
Dependencies
9
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0 to 1.0.1

2

package.json
{
"name": "@formcarry/react",
"version": "1.0.0",
"version": "1.0.1",
"description": "React Hooks library for Formcarry | formcarry.com",

@@ -5,0 +5,0 @@ "main": "./dist/useForm.js",

@@ -38,3 +38,3 @@ # Formcarry React

// Success message
if (state.succeeded) {
if (state.submitted) {
return <div>Thank you! We received your submission.</div>;

@@ -41,0 +41,0 @@ }

@@ -5,3 +5,3 @@ import { useState, useEffect } from 'react'

export default function useForm(props: Props) {
export function useForm(props: Props) {
const { id, debug = true, extraData } = props

@@ -8,0 +8,0 @@ const [submitted, setSubmitted] = useState<boolean>(false)

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc