mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-18 07:26:02 +01:00
refactor(client/interface): default notify backwards compat
This commit is contained in:
@@ -119,7 +119,7 @@ const exitAnimationBottom = keyframes({
|
||||
const Notifications: React.FC = () => {
|
||||
const { classes } = useStyles();
|
||||
|
||||
useNuiEvent<CustomNotificationProps>('customNotify', (data) => {
|
||||
useNuiEvent<CustomNotificationProps>('notify', (data) => {
|
||||
if (!data.title && !data.description) return;
|
||||
// Backwards compat with old notifications
|
||||
let position = data.position;
|
||||
|
||||
Reference in New Issue
Block a user