We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 239f7e9 commit 8b73ec0Copy full SHA for 8b73ec0
1 file changed
frontend/src/Manage/Manage.tsx
@@ -55,7 +55,6 @@ export const Manage = () => {
55
})
56
const [headerTitle, setHeaderTitle] = useState<string>('')
57
const theme = useTheme()
58
- const isMobile = useMediaQuery(theme.breakpoints.down('sm'))
59
60
useEffect(() => {
61
const getUserInfo = async () => {
@@ -118,11 +117,7 @@ export const Manage = () => {
118
117
open={toastData.message.length > 0}
119
autoHideDuration={4000}
120
onClose={() => setToastData({ message: '', type: 'info' })}
121
- anchorOrigin={
122
- isMobile
123
- ? { vertical: 'bottom', horizontal: 'center' }
124
- : { vertical: 'bottom', horizontal: 'right' }
125
- }
+ anchorOrigin={{ vertical: 'top', horizontal: 'center' }}
126
>
127
<Alert
128
severity={toastData.type}
0 commit comments