()
| 222 | setStatus('verified') |
| 223 | |
| 224 | const handleRedirect = async () => { |
| 225 | try { |
| 226 | await refetchSession() |
| 227 | } catch (error) { |
| 228 | logger.warn('Failed to refetch session during verification skip:', error) |
| 229 | } |
| 230 | |
| 231 | if (isInviteFlow && redirectUrl) { |
| 232 | window.location.href = redirectUrl |
| 233 | } else { |
| 234 | router.push('/workspace') |
| 235 | } |
| 236 | } |
| 237 | |
| 238 | handleRedirect() |
| 239 | } |
no test coverage detected