working typescript version

This commit is contained in:
erik-sn committed 2020-10-07 12:19:55 -04:00
1 parent 581d6011e0
commit cff746aa38
119 files changed
+247 -189

No files matched your search

File renamed without changes.
@@ -78,9 +78,12 @@ export const useInitKeyboard = () => {
[getters]
);
useEffect(function registerEscapeHandler() {
setEscape({ handler: () => console.log("close phone") });
}, [setEscape]);
useEffect(
function registerEscapeHandler() {
setEscape({ handler: () => console.log("close phone") });
},
[setEscape]
);
};
export const useKeyboard = () => {
@@ -20,7 +20,7 @@ const useStyles = makeStyles((theme) => ({
color: theme.palette.text.primary,
},
icon: {
padding: '4px',
padding: "4px",
color: theme.palette.text.primary,
},
}));
@@ -36,7 +36,12 @@ export const NotificationBar = ({ notifications = [] }) => {
>
<Grid container item wrap="nowrap">
{notifications.map((notification) => (
<Grid item key={notification.key} component={IconButton} className={classes.icon}>
<Grid
item
key={notification.key}
component={IconButton}
className={classes.icon}
>
{notification.icon}
</Grid>
))}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.