When updating dependencies and migrating from Vue-Cli to Vite and Jest to Vitest, "require()" is not required to make a picture appear in the screen. In fact, using it will cause error.
So "require()" was removed from DiscoveryDetailsPage.
Changes Made
Screenshots (if applicable)
Related Issues
Checklist
Please ensure all the following steps are completed before submitting the pull request:
[ ] Code passes all existing tests
[ ] New features or changes are accompanied by appropriate tests
[ ] Code follows the established coding style and conventions
[ ] Documentation has been updated to reflect the changes (if applicable)
[ ] All new and existing tests pass locally
Additional Notes
The commit has a lot of additions and deletions because code reformatting (Prettier)
Pull Request
Summary
When updating dependencies and migrating from Vue-Cli to Vite and Jest to Vitest, "require()" is not required to make a picture appear in the screen. In fact, using it will cause error.
So "require()" was removed from DiscoveryDetailsPage.
Changes Made
Screenshots (if applicable)
Related Issues
Checklist
Please ensure all the following steps are completed before submitting the pull request:
Additional Notes
The commit has a lot of additions and deletions because code reformatting (Prettier)