23 lines
555 B
TypeScript
23 lines
555 B
TypeScript
import React, { useEffect } from 'react'
|
|
|
|
const CallbackHandler: React.FC = () => {
|
|
useEffect(() => {
|
|
// This component is no longer needed since we removed Auth0 from landing page
|
|
// Redirect to main app
|
|
window.location.href = 'https://admin.motovaultpro.com'
|
|
}, [])
|
|
|
|
return (
|
|
<div style={{
|
|
padding: '2rem',
|
|
textAlign: 'center',
|
|
fontFamily: 'Arial, sans-serif'
|
|
}}>
|
|
<h2>Redirecting...</h2>
|
|
<p>Please wait while we redirect you to MotoVaultPro.</p>
|
|
</div>
|
|
)
|
|
}
|
|
|
|
export default CallbackHandler
|