sanity-nextjs-site
sanity-nextjs-site copied to clipboard
Unable to expose a schema
Hi everyone! I've been following the tutorial successfully until I reached the Job schema. For some reason I cannot expose it. This is how my schemas index.ts code looks:
import job from "./job";
import profile from "./profile";
export const schemaTypes = [job, profile];
I have also tried to expose only the Job schema by removing the Profile from the array, but still I only see the Profile tab as shown here:
Any ideas? It might be something really small but I'm stuck. Thank you in advance 🙂