mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-11-23 03:18:36 +00:00
refactor(client/interface): default notify backwards compat
This commit is contained in:
1 parent
e68d8d311c
commit
9a3cff864e
3 files changed
+11
-11
No files matched your search
@@ -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