1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-06 00:07:44 +01:00
unleash.unleash/frontend/src/component/project/Project/ProjectLog/ProjectLog.tsx
2022-10-12 14:40:37 +02:00

24 lines
632 B
TypeScript

import { EventLog } from 'component/events/EventLog/EventLog';
import { useRequiredPathParam } from 'hooks/useRequiredPathParam';
import { styled } from '@mui/material';
const StyledDiv = styled('div')(({ theme }) => ({
borderRadius: '12.5px',
backgroundColor: theme.palette.background.paper,
padding: '2rem',
}));
export const ProjectLog = () => {
const projectId = useRequiredPathParam('projectId');
return (
<StyledDiv>
<EventLog
title="Event Log"
project={projectId}
displayInline
></EventLog>
</StyledDiv>
);
};