sanity-nextjs-site icon indicating copy to clipboard operation
sanity-nextjs-site copied to clipboard

Unable to expose a schema

Open leilaybnz opened this issue 8 months ago • 1 comments

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: image

Any ideas? It might be something really small but I'm stuck. Thank you in advance 🙂

leilaybnz avatar Oct 26 '23 19:10 leilaybnz