feat(web/context): disabled buttons

This commit is contained in:
Luke
2022-11-06 11:01:39 +01:00
parent 33b70b6f1c
commit 306b7b3670
6 changed files with 15 additions and 7 deletions

View File

@@ -7,7 +7,7 @@ import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
import { fetchNui } from '../../../utils/fetchNui';
const openMenu = (id: string | undefined) => {
fetchNui<ContextMenuProps>('openContext', {id: id, back: true});
fetchNui<ContextMenuProps>('openContext', { id: id, back: true });
};
const ContextMenu: React.FC = () => {