- Eliminated redundant components, pages, and layouts related to authentication (`login`, `register`, `password-reset`, etc.), user settings, admin, and demos. - Simplified the frontend structure by removing unused dynamic imports, forms, and test code. - Refactored configurations and metadata imports to exclude references to removed features. - Streamlined the project for future development and improved maintainability by discarding legacy and unused code.
24 lines
525 B
TypeScript
24 lines
525 B
TypeScript
/**
|
|
* Session Management Page
|
|
* View and manage active sessions across all devices
|
|
*/
|
|
|
|
'use client';
|
|
|
|
import { SessionsManager } from '@/components/settings';
|
|
|
|
export default function SessionsPage() {
|
|
return (
|
|
<div className="space-y-6">
|
|
<div>
|
|
<h2 className="text-2xl font-semibold text-foreground">Active Sessions</h2>
|
|
<p className="text-muted-foreground mt-1">
|
|
View and manage devices signed in to your account
|
|
</p>
|
|
</div>
|
|
|
|
<SessionsManager />
|
|
</div>
|
|
);
|
|
}
|