fix(onboarding): Change 'Go to Dashboard' to 'Go to Login'

The button after tenant creation was misleading - users need to log in first.
Changed button text and URL to explicitly point to /login.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
poduck
2025-12-03 17:47:59 -05:00
parent 88b54ef9e4
commit 3a1b2f2dd8

View File

@@ -659,12 +659,12 @@ const TenantOnboardPage: React.FC = () => {
<button <button
onClick={() => { onClick={() => {
// Redirect to login or the business subdomain // Redirect to login on the business subdomain
window.location.href = buildSubdomainUrl(formData.subdomain, '/'); window.location.href = buildSubdomainUrl(formData.subdomain, '/login');
}} }}
className="px-8 py-3 bg-indigo-600 text-white rounded-lg hover:bg-indigo-700 font-medium" className="px-8 py-3 bg-indigo-600 text-white rounded-lg hover:bg-indigo-700 font-medium"
> >
Go to Dashboard Go to Login
</button> </button>
</div> </div>
)} )}