mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 14:38:45 +00:00
feat(Marketplace): minor alerts
This commit is contained in:
1 parent
283832f17e
commit
5244ff3a57
5 files changed
+33
-4
No files matched your search
@@ -2,9 +2,13 @@ import { useNuiEvent } from '../../../os/nui-events/hooks/useNuiEvent';
|
||||
import { selloutState } from './state';
|
||||
import { useListing } from './useListing';
|
||||
import { useSetRecoilState } from 'recoil';
|
||||
import { useSnackbar } from '../../../ui/hooks/useSnackbar';
|
||||
|
||||
export const useSelloutService = () => {
|
||||
const setSellout = useSetRecoilState(selloutState.listing);
|
||||
const { addAlert } = useSnackbar();
|
||||
|
||||
useNuiEvent('SELLOUT', 'setAlert', addAlert);
|
||||
useNuiEvent('SELLOUT', 'setListings', setSellout);
|
||||
return useListing();
|
||||
};
|
||||
};
|
||||
@@ -101,6 +101,9 @@
|
||||
"APPS_SETTINGS_OPTION_RINGTONE": "Ringtone",
|
||||
"APPS_SETTINGS_OPTION_RINGTONEVOL": "Ringtone Volume",
|
||||
|
||||
"APPS_MARKETPLACE_CREATE_LISTING_SUCCESS": "Successfully created a new listing",
|
||||
"APPS_MARKETPALCE_CREATE_LISTING_FAILED": "Failed to create a new listing",
|
||||
|
||||
"GENERIC_SAVE": "Save",
|
||||
"GENERIC_UPDATE": "Update",
|
||||
"GENERIC_DELETE": "Delete"
|
||||
|
||||
Reference in new issue
Block a user