diff --git a/src/views/Error.jsx b/src/views/Error.jsx index d04fc29..12f5d24 100644 --- a/src/views/Error.jsx +++ b/src/views/Error.jsx @@ -1,10 +1,77 @@ -import { Typography } from '@mui/joy' +import { HomeRounded, Login } from '@mui/icons-material' +import { + Box, + Button, + CircularProgress, + Container, + Textarea, + Typography, +} from '@mui/joy' +import { Link } from 'react-router-dom' +import Logo from '../Logo' // Adjust the import path as necessary const Error = () => { return ( -
- 404 -
+ + + + + + + Ops, something went wrong + + + if you think this is a mistake, please contact us or{' '} + + open issue here + {' '} + + + + + + ) } diff --git a/src/views/Settings/Settings.jsx b/src/views/Settings/Settings.jsx index 55ca372..40afc01 100644 --- a/src/views/Settings/Settings.jsx +++ b/src/views/Settings/Settings.jsx @@ -319,7 +319,7 @@ const Settings = () => { Join Circle - {circleMembers.find(m => userProfile.id == m.userId).role === + {circleMembers.find(m => userProfile.id == m.userId)?.role === 'admin' && ( <>