remove get /privileges

This commit is contained in:
Nastya 2025-01-19 17:16:23 +03:00
parent b305c75892
commit 2c00d1c5dd
2 changed files with 8 additions and 8 deletions

@ -421,14 +421,14 @@ export default function Chat({ open = false, onclickArrow, sx }: Props) {
>
онлайн-консультант
</Typography>
<Typography
{/* <Typography
sx={{
fontSize: "16px",
lineHeight: "19px",
}}
>
время работы 10:00-3:00 по мск
</Typography>
</Typography> */}
</Box>
</Box>
<Box

@ -80,12 +80,12 @@ export default function ProtectedLayout() {
},
});
usePrivilegeFetcher({
onSuccess: setPrivileges,
onError: (error) => {
console.error("usePrivilegeFetcher error :>> ", error);
},
});
// usePrivilegeFetcher({
// onSuccess: setPrivileges,
// onError: (error) => {
// console.error("usePrivilegeFetcher error :>> ", error);
// },
// });
useHistoryData();