Skip to content
Snippets Groups Projects
Verified Commit a9ce3c11 authored by Rafael László's avatar Rafael László :speech_balloon:
Browse files

Fix errors

parent e5f13be6
No related branches found
No related tags found
1 merge request!19fix type imports
Source diff could not be displayed: it is too large. Options to address this: view the blob.
...@@ -51,7 +51,7 @@ const NewsContainer: React.FC = () => { ...@@ -51,7 +51,7 @@ const NewsContainer: React.FC = () => {
</Box> </Box>
</Grid> </Grid>
))} ))}
{profile && profile.role === Role.Admin && ( {profile && profile.profile?.role === Role.Admin && (
<Grid item container justify="center"> <Grid item container justify="center">
<Button variant="contained" color="secondary" onClick={toggleOn}> <Button variant="contained" color="secondary" onClick={toggleOn}>
Add news Add news
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment