styling: Enforced styling across all files (#55)

This commit is contained in:
Taso authored and GitHub committed 2021-01-12 21:31:03 -05:00
1 parent c9b3174505
commit 54daa42454
165 files changed
+1879 -1725

No files matched your search

+8 -9
View File
@@ -1,23 +1,22 @@
import events from '../utils/events';
import events from "../utils/events";
onNet(events.SELLOUT_SEND_LISTING, (listing: any) => {
SendNuiMessage(
JSON.stringify({
app: "SELLOUT",
method: "setListings",
data: listing
data: listing,
})
)
})
);
});
RegisterNuiCallbackType(events.SELLOUT_ADD_LISTING);
on(`__cfx_nui:${events.SELLOUT_ADD_LISTING}`, (data: any) => {
const listing = data;
emitNet(events.SELLOUT_ADD_LISTING, listing)
emitNet(events.SELLOUT_ADD_LISTING, listing);
setTimeout(() => {
emitNet(events.SELLOUT_FETCH_LISTING);
console.log("Fetched")
}, 500)
})
console.log("Fetched");
}, 500);
});