Skip to content

Commit

Permalink
move hover-terms into terms directory to suppress partial warning
Browse files Browse the repository at this point in the history
  • Loading branch information
JKarlavige committed Sep 23, 2024
1 parent 575c176 commit 115d50f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
File renamed without changes.
4 changes: 2 additions & 2 deletions website/src/components/term/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import styles from './styles.module.css';

{/*
Props:
id: maps to term in website/docs/hover-terms.md
id: maps to term in website/docs/terms/hover-terms.md
children (optional): to display different text
other than displayText property for term
*/}
Expand All @@ -20,7 +20,7 @@ export default function Term({ id, children = undefined }) {
})

// Get terms file
const file = require('../../../docs/hover-terms.md')
const file = require('../../../docs/terms/hover-terms.md')

// Get term by id
const term = file?.frontMatter?.[id]
Expand Down

0 comments on commit 115d50f

Please sign in to comment.