disallowed pin in directmessage
parent
6f622a9a88
commit
e07e784de1
|
|
@ -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={{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue