Skip to content

Commit

Permalink
Improve deprecation notice.
Browse files Browse the repository at this point in the history
  • Loading branch information
peterp committed Jul 23, 2020
1 parent 84a44c7 commit d68c0c1
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions packages/web/src/form/index.js
Expand Up @@ -5,9 +5,10 @@ export * from '@redwoodjs/forms'
*/
export const Form = () => {
console.warn(`
Deprecation notice for forms:
import { Form } from "@redwoodjs/web" has been deprecated.
Please import from '@redwoodjs/forms'
Deprecation notice, forms have moved:
'import { Form } from "@redwoodjs/web"' has moved.
Please use:
'import { Form } from "@redwoodjs/forms"' instead.
`)
return Form
}

0 comments on commit d68c0c1

Please sign in to comment.