feature: a mocked implementation of v1 UI done.
This commit is contained in:
@@ -1,10 +1,18 @@
|
||||
'use client';
|
||||
|
||||
import { TreatmentWorkspace } from '@/components/treatment/TreatmentWorkspace';
|
||||
import { useAuth } from '@/lib/hooks/useAuth';
|
||||
|
||||
export default function TreatmentPage() {
|
||||
const { user, currentOrganization, isAuthReady } = useAuth();
|
||||
|
||||
if (!isAuthReady || !user) {
|
||||
return (
|
||||
<div className="text-sm text-text-muted">Loading…</div>
|
||||
);
|
||||
}
|
||||
|
||||
return (
|
||||
<div className="space-y-3">
|
||||
<h1 className="text-2xl font-semibold text-text-primary">Treatment</h1>
|
||||
<p className="text-sm text-text-secondary">
|
||||
Treatment module is coming soon.
|
||||
</p>
|
||||
</div>
|
||||
<TreatmentWorkspace userId={user.id} currentOrganization={currentOrganization} />
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user