mirror of
https://github.com/hexastack/hexabot
synced 2025-06-26 18:27:28 +00:00
fix(frontend): resolve inbox flickering issue
This commit is contained in:
parent
ef4c61b735
commit
8e22173ee1
@ -44,10 +44,8 @@ export const SubscribersList = (props: {
|
|||||||
}, 400);
|
}, 400);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (chat) {
|
chat.setSubscriberId(subscriber);
|
||||||
chat.setSubscriberId(subscriber);
|
}, [subscriber]);
|
||||||
}
|
|
||||||
}, [chat, subscriber]);
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
|
@ -49,7 +49,7 @@ export const Inbox = () => {
|
|||||||
>
|
>
|
||||||
<Grid item width="100%" height="100%" overflow="hidden">
|
<Grid item width="100%" height="100%" overflow="hidden">
|
||||||
<MainContainer style={{ height: "100%" }}>
|
<MainContainer style={{ height: "100%" }}>
|
||||||
<Sidebar position="left">
|
<Sidebar position="left" style={{ flexBasis: "100%" }}>
|
||||||
<Grid paddingX={1} paddingTop={2} paddingBottom={1} mx={1}>
|
<Grid paddingX={1} paddingTop={2} paddingBottom={1} mx={1}>
|
||||||
<FilterTextfield
|
<FilterTextfield
|
||||||
onChange={onSearch}
|
onChange={onSearch}
|
||||||
|
Loading…
Reference in New Issue
Block a user