Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unhandled Runtime Error in mantine-datatable: m.map is not a function #631

Open
ecatugy opened this issue Aug 19, 2024 · 2 comments
Open
Labels
needs more info Needs more information

Comments

@ecatugy
Copy link

ecatugy commented Aug 19, 2024

Bug Report: Unhandled Runtime Error in Next.js Application

Description:

An unhandled runtime error is occurring in our Next.js application using React, TypeScript, and mantine-datatable version 7.11.2. The error suggests a problem with the .map() function being called on a non-array object.

Environment:

  • Next.js version: 14.2.5
  • React: 18.3.1
  • TypeScript: 5.5.4
  • mantine-datatable: 7.11.2

Unhandled Runtime Error:
TypeError: m.map is not a function

@icflorescu icflorescu added the needs more info Needs more information label Sep 4, 2024
@icflorescu
Copy link
Owner

The provided info is too vague.
Please provide more context (such as a codesandbox/repo reproducing the issue).

@bastiengrignon
Copy link

I've came accross this error too but it happens when you don't set the records or columns so it seems logic to fail if you don't provide anything for your datatable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs more info Needs more information
Projects
None yet
Development

No branches or pull requests

3 participants