mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-19 19:31:54 +03:00
ignoring ts and tsx imports
This commit is contained in:
parent
ab51c0a96e
commit
c1c00d3209
@ -58,6 +58,16 @@
|
|||||||
"devDependencies": true
|
"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) {
|
if (post) {
|
||||||
console.log('Gettting reblogs inside postDisplayContainer');
|
console.log('Gettting reblogs inside postDisplayContainer');
|
||||||
const votes = get(post, 'active_votes', []);
|
const votes = get(post, 'active_votes', []);
|
||||||
setActiveVotes(votes)
|
setActiveVotes(votes);
|
||||||
setActiveVotesCount(votes.length)
|
setActiveVotesCount(votes.length);
|
||||||
getPostReblogs(post).then((result) => {
|
getPostReblogs(post).then((result) => {
|
||||||
setReblogs(result || []);
|
setReblogs(result || []);
|
||||||
});
|
});
|
||||||
|
@ -56,7 +56,6 @@ const PostDisplayView = ({
|
|||||||
}
|
}
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
|
|
||||||
// Component Functions
|
// Component Functions
|
||||||
const onRefresh = useCallback(() => {
|
const onRefresh = useCallback(() => {
|
||||||
setRefreshing(true);
|
setRefreshing(true);
|
||||||
|
Loading…
Reference in New Issue
Block a user