Skip to content

🎥 Make videos programmatically with React

Update index.js

Jonny Burger625d5b45e40c
diff --git a/packages/docs/route-plugin/index.js b/packages/docs/route-plugin/index.js
index ca579d8f64..9f1b7d6af9 100644
--- a/packages/docs/route-plugin/index.js
+++ b/packages/docs/route-plugin/index.js
@@ -6,7 +6,10 @@ module.exports = function () {
name: 'slug-plugin',
loadContent() {
const experts = fs.readFileSync(
- path.join(__dirname, '../src/data/experts.tsx'),
+ path.join(
+ __dirname,
+ '../../../packages/promo-pages/src/components/experts/experts-data.tsx',
+ ),
'utf-8',
);
const templates = fs.readFileSync(