UserStatus.jsx 575 B

12345678910111213141516171819202122232425
  1. import React from "react";
  2. /**
  3. * UserStatus
  4. *
  5. * RHL-019:
  6. * - Placeholder only.
  7. *
  8. * Later:
  9. * - This component will read session state (via apiClient.getMe()) and display:
  10. * - username or userId
  11. * - role
  12. * - branchId (for branch users)
  13. *
  14. * Test/runtime note:
  15. * - See AppShell.jsx for details why we import React explicitly.
  16. */
  17. export default function UserStatus() {
  18. return (
  19. <div className="hidden items-center gap-2 md:flex">
  20. <span className="text-xs text-muted-foreground">User:</span>
  21. <span className="text-xs">Not loaded</span>
  22. </div>
  23. );
  24. }