Uncaught TypeError: Object(...)(...).then(...) is not a function code example Example: TypeError: Object(…) is not a function reactjs export let fillCalendar = (month, year) => {