Skip to content

Commit

Permalink
fix(nui): Visibility setting and building
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeWasTakenn committed Dec 31, 2021
1 parent d1a5a9e commit c8857e1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ui/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "web",
"version": "0.1.0",
"homepage": "web/build",
"name": "ui",
"version": "1.0.0",
"homepage": "ui/build",
"private": true,
"dependencies": {
"@chakra-ui/react": "^1.7.3",
Expand Down
1 change: 1 addition & 0 deletions ui/src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ body {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
height: 100vh;
background: none !important;
}

#root {
Expand Down
1 change: 1 addition & 0 deletions ui/src/providers/VisibilityProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export const VisibilityProvider: React.FC = ({ children }) => {
const keyHandler = (e: KeyboardEvent) => {
if (['Escape'].includes(e.code)) {
fetchNui('exit');
setVisible(false);
}
};

Expand Down

0 comments on commit c8857e1

Please sign in to comment.