cleanup keyboard shortcut

This commit is contained in:
talksik
2022-05-27 23:14:32 -05:00
parent 81eff4bef2
commit 7cb8e2d784
4 changed files with 199 additions and 10 deletions
@@ -2,13 +2,6 @@ import React from 'react';
import { Box, styled, Typography } from '@mui/material';
import { blueGrey } from '@mui/material/colors';
const StyledBox = styled(Box)(({ theme }) => ({
px: theme.spacing(1),
py: theme.spacing(0.5),
border: `1px solid`,
borderColor: blueGrey[50],
}));
export default function KeyboardShortcutLabel({ label }: { label: string }) {
return (
<Box
@@ -6,8 +6,11 @@ import NirvanaLogo from './NirvanaLogo';
import { blueGrey } from '@mui/material/colors';
import { FiSearch } from 'react-icons/fi';
import KeyboardShortcutLabel from './KeyboardShortcutLabel';
import { useSnackbar } from 'notistack';
export default function Terminal() {
const { enqueueSnackbar } = useSnackbar();
return (
<Grid container spacing={0}>
<Grid