[site/links][xs]: modify path source

This commit is contained in:
khalilcodes 2022-06-13 22:48:01 +03:00
parent 6cce1c7620
commit 5b9a091029
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ export const Tooltip = ({ render, ...props }) => {
if (filePath.includes('notes')) { if (filePath.includes('notes')) {
return return
} }
const page = allOtherPages.find(p => p._raw.sourceFilePath === filePath) const page = allOtherPages.find(p => p._raw.flattenedPath === filePath)
content = documentExtract(page.body.raw); content = documentExtract(page.body.raw);
} catch { } catch {
return return