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

Error with “key” props in FilePreview/MobileImagePreview #1955

Open
Maestr1 opened this issue Nov 20, 2024 · 1 comment
Open

Error with “key” props in FilePreview/MobileImagePreview #1955

Maestr1 opened this issue Nov 20, 2024 · 1 comment

Comments

@Maestr1
Copy link

Maestr1 commented Nov 20, 2024

Hi there!

When I try to use the FilePreview component with actions props, I get an error in the console saying that the "key" for MobileImagePreview is missing.

I'm using the following version of @gravity-ui/uikit": "^6.35.2

image
Link to sandbox

@Maestr1 Maestr1 closed this as completed Nov 20, 2024
@Maestr1 Maestr1 reopened this Nov 20, 2024
@Maestr1
Copy link
Author

Maestr1 commented Nov 20, 2024

The error occurs when the optional id parameter is not passed to the actions.

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

No branches or pull requests

1 participant