mirror of
https://github.com/Unleash/unleash.git
synced 2025-09-28 17:55:15 +02:00
* refactor: unify page titles * refactor: update page title on navigation * refactor: add AnnouncerContext to test contexts * fix: announce navigation to screen readers
13 lines
297 B
TypeScript
13 lines
297 B
TypeScript
import EventLog from '../EventLog';
|
|
import { useEvents } from 'hooks/api/getters/useEvents/useEvents';
|
|
|
|
export const EventHistory = () => {
|
|
const { events } = useEvents();
|
|
|
|
if (events.length < 0) {
|
|
return null;
|
|
}
|
|
|
|
return <EventLog history={events} title="Event log" />;
|
|
};
|