mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-09 10:15:26 +00:00
disallowed pin in directmessage
This commit is contained in:
@@ -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={{
|
||||||
|
|||||||
Reference in New Issue
Block a user