mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 06:28:51 +00:00
feat(phone/useApps): startup event for apps | remove onClick
This commit is contained in:
1 parent
640643e086
commit
4e1d85b35f
2 files changed
+31
-17
No files matched your search
@@ -35,12 +35,8 @@ export const AppIcon = ({ id, name, icon, backgroundColor, color }) => {
|
||||
color: color || green[400],
|
||||
});
|
||||
|
||||
const openAppCallback = () => {
|
||||
Nui.send(`phone:app:${id}`);
|
||||
};
|
||||
|
||||
return (
|
||||
<Button onClick={openAppCallback} className={classes.root}>
|
||||
<Button className={classes.root}>
|
||||
<Avatar className={classes.avatar}>
|
||||
{icon || name[0].toUpperCase()}
|
||||
</Avatar>
|
||||
|
||||
Reference in new issue
Block a user