refactor(admin): migrate page titles from static map to self-registering pages

This commit is contained in:
2026-04-22 17:46:53 -04:00
parent 94aaeb241b
commit fa40565686
8 changed files with 21 additions and 25 deletions
@@ -1,5 +1,6 @@
'use client';
import { registerPage } from '../registry.js';
import { useState, useEffect } from 'react';
import { Card, Table, Button, Badge } from '@zen/core/shared/components';
import { PencilEdit01Icon, Cancel01Icon } from '@zen/core/shared/icons';
@@ -193,3 +194,5 @@ const RolesPageHeader = () => {
};
export default RolesPage;
registerPage({ slug: 'roles', title: 'Rôles', Component: RolesPage });