Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We got issues during a test from cozy-viewer using cozy-client useClient because : - PdfMobileViewer from cozy-viewer calls useClient/withClient from cozy-libs/packages/cozy-viewer/node-modules/cozy-client - FileImageLoader from cozy-ui calls useClient/withClient from cozy-libs/node-modules/cozy-ui/node_modules/cozy-client So the client was not accessible from FileImageLoader leading to an error during tests. We fix this by using the nohoist feature for cozy-ui. See https://classic.yarnpkg.com/blog/2018/02/15/nohoist/
- Loading branch information