Skip to content

Commit

Permalink
fix: correct state setter for atm
Browse files Browse the repository at this point in the history
  • Loading branch information
itschip committed Jan 24, 2024
1 parent 2ae1ecd commit 57f6c45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const App: React.FC = () => {
}, []);

useNuiEvent('PEFCL', 'setVisible', (data) => setIsVisible(data));
useNuiEvent('PEFCL', 'setVisibleATM', (data) => setIsVisible(data));
useNuiEvent('PEFCL', 'setVisibleATM', (data) => setIsAtmVisible(data));

const { i18n } = useTranslation();
useExitListener();
Expand Down

0 comments on commit 57f6c45

Please sign in to comment.