Skip to content

Conversation

@cornking2020
Copy link
Contributor

What

  • Bugfix (Non-breaking change that solves an issue)

Why

Screenshot 2024-06-19 at 13 39 46

When you use Reader.tsx in a tsx file, it might throw an error.

How

Don't worry, it's an easy fix!

Just add a return statement to Reader.tsx, and return an empty HTML tag, like this: <></>

That should do the trick! Let me know if you need anything else.

How to Test

Just use Reader in a TSX file and you won't have any errors.

Like this:

<VolumeRepresentation>
    <VolumeController />
    <Reader vtkClass={vtkXMLImageDataReader} url={url} />
</VolumeRepresentation>

Additional Remarks

No.

Just give us a shout if you got any questions, no worries.

@floryst floryst merged commit f2f8e5b into Kitware:beta Jul 2, 2024
@jourdain
Copy link
Collaborator

🎉 This PR is included in version 2.0.0-beta.18 🎉

The release is available on:

Your semantic-release bot 📦🚀

@jourdain
Copy link
Collaborator

🎉 This PR is included in version 2.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants