Next.js Discord

Discord Forum

Font loader problem after using ESLint

Masai Lion posted this in #help-forum
Open in Discord
Masai LionOP
Hey, my project was going well, and after I ran ESLint, I now get this issue when I run my app, do you know the reason ?

  × Font loaders must be called and assigned to a const in the module scope
 11 │  outfitNormal = Outfit({
    ·                 ──────
 12 │     subsets: ['latin'],
 13 │     weight: '400',
 13 │ });


0 Replies