snelsi / next-hubspot

⭐Embed Hubspot forms in your Next.js application
MIT License
64 stars 8 forks source link

docs: update README #58

Closed guoqqqi closed 2 years ago

guoqqqi commented 2 years ago
  useHubspotForm({
    portalId: 'XXXXXXX',
    formId: 'XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX',
    target: 'hubspot-form-wrapper'
  });

The target attribute is missing the #

snelsi commented 2 years ago

Good catch, thank you. However, I think an extra paragraph about object destructuring you added is redundant for the readme. It's not a library feature, but just how js works.