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

Mantine Datatable unique key prop error #83

Closed
JohannesMerkt opened this issue Mar 6, 2023 · 2 comments
Closed

Mantine Datatable unique key prop error #83

JohannesMerkt opened this issue Mar 6, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@JohannesMerkt
Copy link
Contributor

Probably not an important fix, but every occurence (leaderboard / playercard) of the mantine datatable currently causes this error:
grafik

Couldn't figure out why but it seems to be inside the render function of the column prop
grafik

this is the only issue I found about this:
icflorescu/mantine-datatable#182
it seems to be our fault

@petrvecera
Copy link
Member

I looked at the code and can't figure out where we have it wrong ? ...

@petrvecera petrvecera added the bug Something isn't working label Mar 6, 2023
@komnb14
Copy link
Collaborator

komnb14 commented Mar 6, 2023

Datatable's default key is id. simply set idAccessor will fix this bug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants