Merge pull request #735 from bluewave-labs/feat/fe/role-restrictions

Feat/fe/role restrictions, resolves #723
This commit is contained in:
Alexander Holliday authored and GitHub committed 2024-08-27 15:56:28 -07:00
commit 75c8f8190f
6 files changed
+110 -63

No files matched your search

+5 -1
View File
@@ -123,7 +123,7 @@ const SkeletonLayout = () => {
);
};
const PageSpeed = () => {
const PageSpeed = ({ isAdmin }) => {
const theme = useTheme();
const dispatch = useDispatch();
const navigate = useNavigate();
@@ -178,10 +178,14 @@ const PageSpeed = () => {
"Give suggestions on how the page can be improved",
]}
link="/pagespeed/create"
isAdmin={isAdmin}
/>
)}
</Box>
);
};
PageSpeed.propTypes = {
isAdmin: PropTypes.bool,
};
export default PageSpeed;