uncomment image height prop

This commit is contained in:
Nouman Tahir 2023-02-27 18:08:55 +05:00
parent 465902a892
commit 7c3cb18934

View File

@ -210,20 +210,6 @@ const postsListContainer = (
const _handleOnContentPress = (value) => {
if (value) {
// postsCacherPrimer.cachePost(value);
navigation.navigate({
name: ROUTES.SCREENS.POST,
params: {
content: value,
author: value.author,
permlink: value.permlink,
}
});
}
};
const _handleCardInteraction = (id: PostCardActionIds, payload: any, content: any) => {
switch (id) {
@ -274,7 +260,7 @@ const postsListContainer = (
isHideImage={isHideImages}
nsfw={nsfw}
reblogs={reblogs}
// imageHeight={imgHeight}
imageHeight={imgHeight}
setImageHeight={_setImageHeightInMap}
handleCardInteraction={(id: PostCardActionIds, payload: any) => _handleCardInteraction(id, payload, item)}
/>