diff --git a/frontend/src/component/segments/SegmentEmpty/SegmentEmpty.tsx b/frontend/src/component/segments/SegmentEmpty/SegmentEmpty.tsx index 1b3b696f81..eb402082ef 100644 --- a/frontend/src/component/segments/SegmentEmpty/SegmentEmpty.tsx +++ b/frontend/src/component/segments/SegmentEmpty/SegmentEmpty.tsx @@ -1,9 +1,14 @@ import { Typography } from '@mui/material'; import { useStyles } from 'component/segments/SegmentEmpty/SegmentEmpty.styles'; import { Link } from 'react-router-dom'; +import { CREATE_SEGMENT } from 'component/providers/AccessProvider/permissions'; +import { ConditionallyRender } from 'component/common/ConditionallyRender/ConditionallyRender'; +import AccessContext from 'contexts/AccessContext'; +import { useContext } from 'react'; export const SegmentEmpty = () => { const { classes } = useStyles(); + const { hasAccess } = useContext(AccessContext); return (