import React, { useEffect } from 'react';
import { useNavigate } from 'react-router-dom';

export default function SettingsIndex() {
  const navigate = useNavigate();
  
  useEffect(() => {
    // Redirect to Store Details as the default settings page
    navigate('/settings/store', { replace: true });
  }, [navigate]);
  
  return null;
}