diff --git a/.travis.yml b/.travis.yml index 8a99730e8c..8e02f893ed 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,6 +19,6 @@ deploy: env: global: # travis encrypt NPM_TOKEN= -r cozy/cozy-client - - secure: "ZPB/H6qbrMdIvSRy70tEg6+NyvcFkBsN+Gedm0kDP7Ks45EhZcO3CPsJcJiJpLK5iIpEm4FLM+OG8TPFt5XT58ohWBg/ucbKIaJ/ubnHgQWER4fbthddFxDzEfl5BjWL3WE03VwrXigrLC0KhGQ+4/D7OnlfgY+16+zvGyTGNsIrOxP+aKlw65AgnrTPXYCfvHh03J0BBvcfkbtZwU285DCQ/uNJ8+Ung1/EW9PSLLpWxouYKEzFd7FrwjMJxPTMT511lrBd0PuPZ38bMAUYW+WcEH28XKfFhHgSq2ktQitjNSAcoFewvqtj42S4rXKC8DO0JedYmeOWe9yk4Upj3+GVWZmiBlvxdEgWpADAJU8KOuOYaqokNehCJUT5EXfqsvrppWuTKDV5nhRVhTPmgVGOtGWrsVK/a9h/M68HLRT2Ugc7cZDCdpmCaUr5qZwAhPTgDcOiDvEa292VPhrN7Qpm202HU3Oz0LYk43MG6X9/r75EIPdJe8tq31iDQYh7FMxv5DF/XMuA9y3Tk6DsCPV2wxt+AgwWtPM/mllPN5kWfu3lh4p9z9SIcMJRfB1vPxdK3luotkeZP+MwoY41m5ViuDW7rtPcMOn2uEy1Wwk/bvGSdYUHL/eOyic6iy4uKJ1xKoJizx5//cwkYd91nImNay9xU5wDQf23JkI5ImY=" + - secure: "VaAQetm6rCGPAugtzr44MQcLi3C7juN8ccSo4QlkgPYuxS5v2tBcLHYMkN1k88IelB3QzZlIloy8Ral7gEZhwLPDxBoQALBOT8BUiBAOqFyO4jV8Y+X3wKoQKsBWZtmWBTpIMLFBTAHsnXxObQItPiS3bcTo+hPkcuwjZEMss7bSG1+yItWOjUBmuEYzjfAgPzkOFUm/Rq5XZB8nlAvYUYAaDv/inPwI/Fz4kAYb0uMP8q5L6AvQWmUZvYCcqQw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FCCgM04vgBdukuTh1L/t+fZiK9HU5IFdcnV3EiHZ0yhnQ4HXewCQaXXh9Xb082Hzs=" diff --git a/docs/api/cozy-client/README.md b/docs/api/cozy-client/README.md index b03a13f88d..378718a81f 100644 --- a/docs/api/cozy-client/README.md +++ b/docs/api/cozy-client/README.md @@ -817,7 +817,7 @@ Returns the cozy client from the context *Defined in* -[packages/cozy-client/src/hooks/useClient.js:9](https://github.com/cozy/cozy-client/blob/master/packages/cozy-client/src/hooks/useClient.js#L9) +[packages/cozy-client/src/hooks/useClient.js:10](https://github.com/cozy/cozy-client/blob/master/packages/cozy-client/src/hooks/useClient.js#L10) *** diff --git a/packages/cozy-client/src/hooks/useClient.js b/packages/cozy-client/src/hooks/useClient.js index 9e6b7d0945..973d103ae6 100644 --- a/packages/cozy-client/src/hooks/useClient.js +++ b/packages/cozy-client/src/hooks/useClient.js @@ -1,6 +1,7 @@ import { useContext } from 'react' import clientContext from '../context' import CozyClient from '../CozyClient' + /** * Returns the cozy client from the context *