reuters-graphics/graphics-svelte-components

Code for turning referrals logo any other colour is broken

Closed this issue · 1 comments

Hey, Aditi. Thanks for flagging.

So I noticed in your project, your @reuters-graphics/graphics-svelte-components library was only set to ^0.2.0 in package.json (which basically sets a range of allowed versions of the library, in this case anything above 0.2.0) and that according to your yarn.lock file, you had version 0.2.1 installed (which determines the exact version you're using).

The feature you're looking for came in in 0.2.4, so you would've needed to upgrade that dependency to get it. You can do that by changing that version number in package.json to whatever the latest version of the library is, which you can usually find right on the README for this repo:

image

So in this case, changing it to ^0.2.4 and then, of course, running yarn to install it will get you that new feature.

Ima close this issue out for now, but if it turns out something else wasn't working for ya, feel free to re-open.