Skip to content

Commit

Permalink
Fix type issues in the android ChatMessageActions component
Browse files Browse the repository at this point in the history
  • Loading branch information
patosullivan committed Jan 10, 2025
1 parent 55448a8 commit 96f449b
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,14 @@ export function ChatMessageActions({
}: {
post: db.Post;
postActionIds: ChannelAction.Id[];
postRef: RefObject<RNView>;
postRef?: RefObject<RNView>;
onDismiss: () => void;
onReply?: (post: db.Post) => void;
onViewReactions?: (post: db.Post) => void;
onEdit?: () => void;
// this prop is here just so we match the Component.tsx prop
// these props are here just so we match the Component.tsx prop
onShowEmojiPicker?: () => void;
trigger?: React.ReactNode;
}) {
const [topOffset, setTopOffset] = useState(0);
const insets = useSafeAreaInsets();
Expand Down

0 comments on commit 96f449b

Please sign in to comment.