mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 22:16:40 +00:00
update marketplace enums
This commit is contained in:
1 parent
5ce6cf2d4a
commit
a6f98d7ac0
3 files changed
+6
-4
No files matched your search
@@ -3,7 +3,7 @@ import { IAlertProps } from '../../typings/alerts';
|
||||
import { sendMarketplaceEvent } from '../utils/messages';
|
||||
|
||||
onNet(MarketplaceEvents.SEND_LISTING, (listings: MarketplaceListing[]) => {
|
||||
sendMarketplaceEvent('setListings', listings);
|
||||
sendMarketplaceEvent(MarketplaceEvents.SEND_LISTING, listings);
|
||||
});
|
||||
|
||||
RegisterNuiCallbackType(MarketplaceEvents.ADD_LISTING);
|
||||
@@ -33,5 +33,5 @@ onNet(MarketplaceEvents.DELETE_LISTING_SUCCESS, () => {
|
||||
});
|
||||
|
||||
onNet(MarketplaceEvents.ACTION_RESULT, (alert: IAlertProps) => {
|
||||
sendMarketplaceEvent('setAlert', alert);
|
||||
sendMarketplaceEvent(MarketplaceEvents.SEND_ALERT, alert);
|
||||
});
|
||||
Reference in new issue
Block a user