Use NavLink

This commit is contained in:
J Francisco Rader committed 2021-02-08 00:51:00 -05:00
1 parent 16623e98e0
commit a27de26ef0
2 files changed
+5 -5

No files matched your search

+1 -2
View File
@@ -42,7 +42,6 @@ InjectDebugData([
]);
function Phone() {
const history = useHistory();
const quickAccess = useQuickAccess();
useNuiService();
usePhoneService();
@@ -109,7 +108,7 @@ function Phone() {
icon: (
<NotificationIcon
icon={qa.notificationIcon}
onClick={() => history.push(qa.path)}
to={qa.path}
/>
),
}))}