summaryrefslogblamecommitdiff
path: root/makima/frontend/src/routes/directives.tsx
blob: f397e544548e802489bf423a60f105b7f99cc832 (plain) (tree)
1
2
3
4
5
6
7
8
9
10









                                                                           
                                                           

                                          
                                    
 
// Top-level /directives route — now always renders the document-mode UI.
//
// The legacy tabular UI (DirectiveList + DirectiveDetail) was retired
// when directives.goal was dropped: contracts own the spec text now,
// and the document-mode page is the only surface that knows how to
// edit them. The user-settings `documentModeEnabled` toggle is no
// longer consulted here (kept around in settings for future flag use).
//
// /directives/:id is delegated to DocumentDirectivesPage which reads
// the param itself.
import DocumentDirectivesPage from "./document-directives";

export default function DirectivesPage() {
  return <DocumentDirectivesPage />;
}