mirror of
https://github.com/darksaid98/oxmysql.git
synced 2026-12-03 14:38:50 +00:00
fix(nui): Visibility setting and building
This commit is contained in:
1 parent
d1a5a9e249
commit
c8857e18c4
3 files changed
+5
-3
No files matched your search
@@ -24,6 +24,7 @@ export const VisibilityProvider: React.FC = ({ children }) => {
|
||||
const keyHandler = (e: KeyboardEvent) => {
|
||||
if (['Escape'].includes(e.code)) {
|
||||
fetchNui('exit');
|
||||
setVisible(false);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user