Tweak / Effect dependencies and Fivem-Nui-lib (#216)

* Fix Nui.send effect dependencies and upgrade lib to fixed version

* Remove log
This commit is contained in:
J Francisco Rader authored and GitHub committed 2021-04-30 22:52:35 +02:00
1 parent 34b177e827
commit faf4edfbc6
4 files changed
+7 -14

No files matched your search

+1 -1
View File
@@ -16,7 +16,7 @@
"dompurify": "^2.2.6",
"emoji-mart": "^3.0.1",
"enzyme": "^3.11.0",
"fivem-nui-react-lib": "2.2.6",
"fivem-nui-react-lib": "^2.2.8",
"howler": "^2.2.1",
"i18next": "^19.7.0",
"jsonschema": "^1.4.0",
+1 -1
View File
@@ -23,7 +23,7 @@ export const MatchApp = () => {
useEffect(() => {
Nui.send(MatchEvents.INITIALIZE);
}, []);
}, [Nui]);
const handlePageChange = (e, page) => setActivePage(page);
@@ -12,7 +12,7 @@ export function TweetListContainer() {
useEffect(() => {
Nui.send(TwitterEvents.FETCH_TWEETS, {});
}, []);
}, [Nui]);
useEffect(() => {
if (tweets?.length) {
+4 -11
View File
@@ -5411,12 +5411,10 @@ find-up@^3.0.0:
dependencies:
locate-path "^3.0.0"
[email protected].6:
version "2.2.6"
resolved "https://registry.yarnpkg.com/fivem-nui-react-lib/-/fivem-nui-react-lib-2.2.6.tgz#2ffc01aee5a01aeb444c7c404e3e2b374b9798d7"
integrity sha512-h8WJsyP7/VehkmRdfs9/pjGK73LmZSEeWH4kW0Mo9InC0qIulcTfJnnvdp40fIJ6SSCZLjteSQrUN6f+ZUoKdA==
dependencies:
typescript "^4.1.2"
fivem-nui-react-lib@^2.2.8:
version "2.2.8"
resolved "https://registry.yarnpkg.com/fivem-nui-react-lib/-/fivem-nui-react-lib-2.2.8.tgz#41df54b37cbb61806f44a5d426e4c5ec6387fde9"
integrity sha512-8eeCp3J1yS4ymFpRwig72dcIJviF+63ug1j4GBZXBzo1QmKyDjRCR36HwBhl2YKYgYyC4sJbTSeT+k6T61F3Fg==
flat-cache@^3.0.4:
version "3.0.4"
@@ -11686,11 +11684,6 @@ [email protected]:
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.9.7.tgz#98d600a5ebdc38f40cb277522f12dc800e9e25fa"
integrity sha512-BLbiRkiBzAwsjut4x/dsibSTB6yWpwT5qWmC2OfuCg3GgVQCSgMs4vEctYPhsaGtd0AeuuHMkjZ2h2WG8MSzRw==
typescript@^4.1.2:
version "4.2.3"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.2.3.tgz#39062d8019912d43726298f09493d598048c1ce3"
integrity sha512-qOcYwxaByStAWrBf4x0fibwZvMRG+r4cQoTjbPtUlrWjBHbmCAww1i448U0GJ+3cNNEtebDteo/cHOR3xJ4wEw==
unbox-primitive@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/unbox-primitive/-/unbox-primitive-1.0.0.tgz#eeacbc4affa28e9b3d36b5eaeccc50b3251b1d3f"