mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-23 21:35:04 +03:00
ignoring ts and tsx imports
This commit is contained in:
parent
ab51c0a96e
commit
c1c00d3209
@ -58,6 +58,16 @@
|
||||
"devDependencies": true
|
||||
}
|
||||
],
|
||||
"import/no-unresolved": "off"
|
||||
"import/no-unresolved": "off",
|
||||
"import/extensions": [
|
||||
"error",
|
||||
"ignorePackages",
|
||||
{
|
||||
"js": "never",
|
||||
"jsx": "never",
|
||||
"ts": "never",
|
||||
"tsx": "never"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@ -44,8 +44,8 @@ const PostDisplayContainer = ({
|
||||
if (post) {
|
||||
console.log('Gettting reblogs inside postDisplayContainer');
|
||||
const votes = get(post, 'active_votes', []);
|
||||
setActiveVotes(votes)
|
||||
setActiveVotesCount(votes.length)
|
||||
setActiveVotes(votes);
|
||||
setActiveVotesCount(votes.length);
|
||||
getPostReblogs(post).then((result) => {
|
||||
setReblogs(result || []);
|
||||
});
|
||||
|
@ -56,7 +56,6 @@ const PostDisplayView = ({
|
||||
}
|
||||
}, []);
|
||||
|
||||
|
||||
// Component Functions
|
||||
const onRefresh = useCallback(() => {
|
||||
setRefreshing(true);
|
||||
|
Loading…
Reference in New Issue
Block a user