numfocus / jobs-board

Minimalist jobs board implementation
https://jobs.numfocus.org
BSD 3-Clause "New" or "Revised" License
18 stars 38 forks source link

Mismatch path #50

Open uchiha-vivek opened 4 days ago

uchiha-vivek commented 4 days ago

gatsby-node.esm.js

import jobs from "./src/jobs"; import path from "path";

export const createPages = async ({ graphql, actions }) => { const { createPage } = actions; jobs.map((job) => createPage({ path: job/${job.id}, component: path.resolve('./src/pages/job.jsx'), context: { job } }) ); }

Sir in the above code : import jobs from "./src/jobs" is incorrect , i think it should be ./src/ pages/job

Please check it once !

stefanv commented 4 days ago

Why, is there a problem with the current build?