);
-}
-
-function MDContent({content, backLinks, handleOpenNewContent}) {
-
- function handleInternalLinkClick() {
- //Processing fetching
- //pass result up to parent container
- //TODO: handle clicking on internal link, go fetching md content from file then passing it up to parent
- handleOpenNewContent(content)
- }
-
- useRouter();
- return (
-
-
-
- Want to know more?
- 🌱 Follow or DM me on Twitter at @tuancm
-
-
- {/**/}
- {/**/}
-
);
}
-export default MDContent;
\ No newline at end of file
+function MDContent({ content, backLinks, handleOpenNewContent }) {
+
+ function _handleInternalLinkClick() {
+ //Processing fetching
+ //pass result up to parent container
+ //TODO: handle clicking on internal link, go fetching md content from file then passing it up to parent
+ handleOpenNewContent(content)
+ }
+
+ useRouter();
+
+ return (
+
+