fix(header): fixed comp name

This commit is contained in:
trashtemp 2022-01-11 23:17:57 +01:00
parent 3d68dab0b4
commit 3b4227d4ba
No known key found for this signature in database
GPG key ID: D1F0DB65081B0FC6

View file

@ -26,7 +26,7 @@ import IconButton from "../../../components/ui/IconButton";
import { ChannelHeaderProps } from "../ChannelHeader";
const Testing = styled.div`
const Container = styled.div`
display: flex;
gap: 16px;
`;
@ -108,7 +108,7 @@ export default function HeaderActions({ channel }: ChannelHeaderProps) {
return (
<>
<Testing>
<Container>
<UpdateIndicator style="channel" />
{channel.channel_type === "Group" && (
<>
@ -156,7 +156,7 @@ export default function HeaderActions({ channel }: ChannelHeaderProps) {
<Search size={25} />
</IconButton>
)}
</Testing>
</Container>
</>
);
}