source: reactapp/src/Util/findParentThread.js

main
Last change on this file was 9bf1f8d, checked in by viktor <viktor@…>, 2 years ago

prefinal

  • Property mode set to 100644
File size: 130 bytes
Line 
1export const findParentThread = (post) => {
2 if (post.parent === null) return post;
3 return findParentThread(post.parent);
4}
Note: See TracBrowser for help on using the repository browser.