Skip to content

Commit

Permalink
Update error message
Browse files Browse the repository at this point in the history
  • Loading branch information
RJFelix committed Oct 11, 2023
1 parent d6769ea commit 3f0f052
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import "./themes/default.css";

Userfront.build = (toolId) => {
console.error(`Userfront.build(${toolId}) has been removed. Instead, import the component directly:
import { SignupForm, LoginForm, PasswordResetForm, SetNewPasswordForm, LogoutButton } from "@userfront/react"
import { SignupForm, LoginForm, PasswordResetForm, SetNewPasswordForm, LogoutButton } from "@userfront/toolkit/react"
See https://userfront.com/dashboard/toolkit for more information about upgrading to the new toolkit.`);
};

Expand Down

0 comments on commit 3f0f052

Please sign in to comment.