mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 14:38:45 +00:00
working typescript version
This commit is contained in:
1 parent
581d6011e0
commit
cff746aa38
119 files changed
+247
-189
No files matched your search
File renamed without changes.
+6
-3
@@ -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 = () => {
|
||||
File renamed without changes.
File renamed without changes.
+7
-2
@@ -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.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Reference in new issue
Block a user