Move notifications to the top

This avoids notifications getting covered by the player
This commit is contained in:
Deluan
2020-11-04 19:29:55 -05:00
parent 36596d4fdb
commit 861c742b3e
3 changed files with 15 additions and 2 deletions
+11
View File
@@ -0,0 +1,11 @@
import React from 'react'
import { Notification as RANotification } from 'react-admin'
const Notification = (props) => (
<RANotification
{...props}
anchorOrigin={{ vertical: 'top', horizontal: 'center' }}
/>
)
export default Notification