Assign object to a variable before exporting as module default

Viewed 17

I am building a restaurant website and got this error in my constants/images.js this is my full page of images.js :

export default {
  bg,
  chef,
  G,
  gallery01,
  gallery02,
  gallery03,
  gallery04,
  knife,
  logo,
  menu,
  overlaybg,
  spoon,
  welcome,
  findus,
  laurels,
  award01,
  award02,
  award03,
  award05,
  sign,
  quote,
  gericht,
};

the error shown in exporting default, kindly I need your help :)

0 Answers
Related