remove get /privileges
This commit is contained in:
parent
b305c75892
commit
2c00d1c5dd
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user