16 lines
313 B
TypeScript
16 lines
313 B
TypeScript
import { useEffect } from "react";
|
|
import { useNavigate } from "react-router-dom";
|
|
|
|
const Index = () => {
|
|
const navigate = useNavigate();
|
|
|
|
useEffect(() => {
|
|
// Redirect to login for now - will be replaced with auth check
|
|
navigate("/login");
|
|
}, [navigate]);
|
|
|
|
return null;
|
|
};
|
|
|
|
export default Index;
|