mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-09-20 23:18:00 +03:00
interface: fix prop drilling of isAdmin
This commit is contained in:
parent
cb7da7cbba
commit
dfdb0cfe34
@ -382,6 +382,7 @@ interface ChatMessageProps {
|
||||
isLastRead?: boolean;
|
||||
permalink?: string;
|
||||
transcluded?: number;
|
||||
isAdmin: boolean;
|
||||
className?: string;
|
||||
isPending?: boolean;
|
||||
style?: unknown;
|
||||
@ -471,7 +472,8 @@ function ChatMessage(props: ChatMessageProps) {
|
||||
hideHover,
|
||||
transcluded,
|
||||
onReply,
|
||||
onDelete
|
||||
onDelete,
|
||||
isAdmin
|
||||
};
|
||||
|
||||
const message = useMemo(() => (
|
||||
|
Loading…
Reference in New Issue
Block a user