aboutsummaryrefslogtreecommitdiff
path: root/src/components/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/common')
-rw-r--r--src/components/common/MomentTags.tsx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/components/common/MomentTags.tsx b/src/components/common/MomentTags.tsx
index 04b0558b..8c91db4a 100644
--- a/src/components/common/MomentTags.tsx
+++ b/src/components/common/MomentTags.tsx
@@ -8,6 +8,7 @@ interface MomentTagsProps {
tags: MomentTagType[];
imageRef: MutableRefObject<null>;
deleteFromList?: (user: ProfilePreviewType) => void;
+ onPress?: () => void;
}
const MomentTags: React.FC<MomentTagsProps> = ({
@@ -15,6 +16,7 @@ const MomentTags: React.FC<MomentTagsProps> = ({
tags,
imageRef,
deleteFromList,
+ onPress,
}) => {
const [offset, setOffset] = useState([0, 0]);
const [curStart, setCurStart] = useState([0, 0]);