disallowed pin in directmessage

pull/1154/head
Abron 2025-02-03 13:59:23 +03:30
parent 6f622a9a88
commit e07e784de1
1 changed files with 1 additions and 2 deletions

View File

@ -299,7 +299,6 @@ export default observer(
}, [renderer]); }, [renderer]);
const history = useHistory(); const history = useHistory();
if (renderer.state !== "RENDER") return null; if (renderer.state !== "RENDER") return null;
function truncateText(text: string, chars: number) { function truncateText(text: string, chars: number) {
@ -322,7 +321,7 @@ export default observer(
</PinIcon> </PinIcon>
)} )}
{!hidden && <PinBar accent position="top" > {!hidden && <PinBar accent position="top" >
<div> <div style={{ height: 'auto' }}>
<div <div
onClick={() => setHidden(true)} onClick={() => setHidden(true)}
style={{ style={{