Skip to content

Commit

Permalink
fix(web): Correct fetchNui event
Browse files Browse the repository at this point in the history
fix #2
  • Loading branch information
SamShanks1 committed Sep 1, 2023
1 parent 3338d5d commit d1c6570
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/components/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ const App: React.FC = () => {
setFontOptions(retData);
});

fetchNui<IConfig>("getMaxViewDistance").then((retData) => {
fetchNui<IConfig>("getConfig").then((retData) => {
setMaxViewDistance(retData.maxDistance);
setMaxDuration(retData.maxDuration);
setIsAdmin(retData.isAdmin);
Expand Down

0 comments on commit d1c6570

Please sign in to comment.