feat: PSA ticket export and Quick-Start landing page #47

Merged
chihlasm merged 2 commits from feat/psa-export-and-quickstart into main 2026-02-09 04:24:25 +00:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 9b5e6f3e53 - Show all commits

View File

@@ -14,7 +14,7 @@ export function LoginPage() {
const [password, setPassword] = useState('')
const [localError, setLocalError] = useState('')
const from = (location.state as { from?: { pathname: string } })?.from?.pathname || '/trees'
const from = (location.state as { from?: { pathname: string } })?.from?.pathname || '/'
const handleSubmit = async (e: React.FormEvent) => {
e.preventDefault()

View File

@@ -69,7 +69,7 @@ export function RegisterPage() {
? { email, password, name, invite_code: inviteCode.trim() }
: { email, password, name }
await register(userData)
navigate('/trees', { replace: true })
navigate('/', { replace: true })
} catch {
// Error is set in the store
}