setting post screen key on navigation

This commit is contained in:
Nouman Tahir 2023-03-02 18:44:49 +05:00
parent 82628e92d7
commit 246e361733
3 changed files with 4 additions and 2 deletions

View File

@ -254,6 +254,7 @@ const CommentsContainer = ({
author: comment.author,
permlink: comment.permlink,
},
key: `${comment.author}/${comment.permlink}`
});
};

View File

@ -44,7 +44,8 @@ export const PostCardContent = ({ content, isHideImage, thumbHeight, nsfw, setTh
content: content,
author: content.author,
permlink: content.permlink,
}
},
key: `${content.author}/${content.permlink}`
})
}

View File

@ -1,4 +1,4 @@
import React, { useState, useRef, useEffect, useMemo } from 'react';
import React, { useState, useRef, useEffect } from 'react';
import { View } from 'react-native';
// Components