2026-08-06 11:32:14 +02:00
|
|
|
// ⚠️ Guest-System umgebaut — Guests sind jetzt reguläre User mit role=guest
|
|
|
|
|
// Guest contacts page now redirects to normal contacts page
|
|
|
|
|
import { useEffect } from 'react';
|
2026-07-29 02:53:37 +02:00
|
|
|
import { useNavigate } from 'react-router-dom';
|
|
|
|
|
|
|
|
|
|
export function GuestContactsPage() {
|
|
|
|
|
const navigate = useNavigate();
|
|
|
|
|
|
|
|
|
|
useEffect(() => {
|
2026-08-06 11:32:14 +02:00
|
|
|
// Redirect to normal contacts — guests use the same app now
|
|
|
|
|
navigate('/contacts', { replace: true });
|
2026-07-29 02:53:37 +02:00
|
|
|
}, [navigate]);
|
|
|
|
|
|
|
|
|
|
return (
|
2026-08-06 11:32:14 +02:00
|
|
|
<div className="flex items-center justify-center min-h-screen">
|
2026-08-27 09:14:21 +02:00
|
|
|
<p className="text-gray-500">Weiterleitung zu Kontakten...</p>
|
2026-07-29 02:53:37 +02:00
|
|
|
</div>
|
|
|
|
|
);
|
|
|
|
|
}
|